forked from AuroraMiddleware/gtk
window: Make the sample code obey the party line on geometry widgets
The geometry_widget parameter is deprecated [1]. If one is passed, we remove GDK_HINT_BASE_SIZE and GDK_HINT_RESIZE_INC from the mask [2]. [1] commit08974a1e9a
[2] commitf7cc4abbad
https://bugzilla.gnome.org/show_bug.cgi?id=764321
This commit is contained in:
parent
bde5281ae8
commit
fd143a2b38
@ -11362,7 +11362,7 @@ gtk_XParseGeometry (const char *string,
|
|||||||
* gtk_widget_show_all (vbox);
|
* gtk_widget_show_all (vbox);
|
||||||
*
|
*
|
||||||
* gtk_window_set_geometry_hints (GTK_WINDOW (window),
|
* gtk_window_set_geometry_hints (GTK_WINDOW (window),
|
||||||
* window,
|
* NULL,
|
||||||
* &size_hints,
|
* &size_hints,
|
||||||
* GDK_HINT_MIN_SIZE |
|
* GDK_HINT_MIN_SIZE |
|
||||||
* GDK_HINT_BASE_SIZE |
|
* GDK_HINT_BASE_SIZE |
|
||||||
|
Loading…
Reference in New Issue
Block a user