forked from AuroraMiddleware/gtk
testgtk: Avoid deprecation warnings
Eventually, we should probably remove the examples that rely on geometry support, since they probably don't work correctly anymore. For now, just disable the warnings.
This commit is contained in:
parent
17d9e94682
commit
e79db79e2c
@ -7678,8 +7678,10 @@ set_geometry_callback (GtkWidget *entry,
|
||||
|
||||
text = gtk_editable_get_chars (GTK_EDITABLE (entry), 0, -1);
|
||||
|
||||
G_GNUC_BEGIN_IGNORE_DEPRECATIONS
|
||||
if (!gtk_window_parse_geometry (target, text))
|
||||
g_print ("Bad geometry string '%s'\n", text);
|
||||
G_GNUC_END_IGNORE_DEPRECATIONS
|
||||
|
||||
g_free (text);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user