forked from AuroraMiddleware/gtk
Fix a missing default case warning
It shouldn't be possible to get DPI_STATUS_PENDING here. If it does happen, that would be a bug that should be fixed.
This commit is contained in:
parent
f0103eeeb4
commit
1e2ab40539
@ -895,6 +895,10 @@ _gdk_win32_enable_hidpi (GdkWin32Display *display)
|
|||||||
break;
|
break;
|
||||||
case DPI_STATUS_FAILED:
|
case DPI_STATUS_FAILED:
|
||||||
g_warning ("Failed to enable HiDPI support.");
|
g_warning ("Failed to enable HiDPI support.");
|
||||||
|
break;
|
||||||
|
case DPI_STATUS_PENDING:
|
||||||
|
g_assert_not_reached ();
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user