Commit e79db79e authored by Matthias Clasen's avatar Matthias Clasen

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.
parent 17d9e946
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment