diff options
author | Javier Jardón <jjardon@gnome.org> | 2009-12-04 20:14:58 +0100 |
---|---|---|
committer | Javier Jardón <jjardon@gnome.org> | 2009-12-04 20:14:58 +0100 |
commit | 2d7e9abe72d4ae63cdb7906751c6f85758a14593 (patch) | |
tree | d87008e1ceb600d55b9dd0970d2bcae2cf2296f3 /gladeui/glade-app.c | |
parent | 7475d2d5975b38cd38b3677d0c6e48314b8d06be (diff) | |
download | glade-2d7e9abe72d4ae63cdb7906751c6f85758a14593.tar.gz |
Use accessor functions instead direct access.
GTK+ 2.17.10 is now the required version
I've used all the GTK+ 2.18.* api available, still missing:
GTK_WIDGET_UNSET_FLAGS (widget, GTK_TOPLEVEL);
GTK_WIDGET_SET_FLAGS (widget, GTK_REALIZED);
GTK_WIDGET_REALIZED ()
GTK_WIDGET_MAPPED ()
GTK_VIEWPORT ()->bin_window
GTK_ENTRY ()->editing_canceled
https://bugzilla.gnome.org/show_bug.cgi?id=594957
Diffstat (limited to 'gladeui/glade-app.c')
-rw-r--r-- | gladeui/glade-app.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gladeui/glade-app.c b/gladeui/glade-app.c index 1295a117..3fa69b1c 100644 --- a/gladeui/glade-app.c +++ b/gladeui/glade-app.c @@ -1006,7 +1006,7 @@ glade_app_add_project (GladeProject *project) if (g_list_length (app->priv->projects) == 1 || !(view = glade_design_view_get_from_project (project)) || !(layout = glade_design_view_get_layout (view)) || - !GTK_BIN (layout)->child) + !gtk_bin_get_child (GTK_BIN (layout))) { const GList *node; for (node = glade_project_get_objects (project); @@ -1318,7 +1318,7 @@ glade_app_command_paste (GladePlaceholder *placeholder) * at a time */ if (GTK_IS_WIDGET (widget->object) && - GTK_WIDGET_TOPLEVEL (widget->object) == FALSE && + gtk_widget_is_toplevel (GTK_WIDGET (widget->object)) == FALSE && parent && fixed && !GWA_USE_PLACEHOLDERS (parent->adaptor) && g_list_length (clipboard->selection) != 1) { |