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:
Руслан Ижбулатов 2018-06-10 20:57:18 +00:00
parent f0103eeeb4
commit 1e2ab40539

View File

@ -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;
} }
} }