~vcs-imports/glade/master

« back to all changes in this revision

Viewing changes to plugins/gtk+/glade-activatable-editor.c

  • Committer: Javier Jardón
  • Date: 2009-12-04 19:14:58 UTC
  • Revision ID: git-v1:2d7e9abe72d4ae63cdb7906751c6f85758a14593
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

Show diffs side-by-side

added added

removed removed

Lines of Context:
286
286
                        
287
287
                        /* If theres a widget customly inside... command remove it first... */
288
288
                        button = GTK_WIDGET (gwidget->object);
289
 
                        child  = GTK_BIN (button)->child;
 
289
                        child  = gtk_bin_get_child (GTK_BIN (button));
290
290
                        if (child)
291
291
                                gchild = glade_widget_get_from_gobject (child);
292
292
                        
378
378
{
379
379
        GladeActivatableEditor    *activatable_editor;
380
380
        GladeEditorProperty *eprop;
381
 
        GtkWidget           *table, *frame, *alignment, *label, *hbox;
 
381
        GtkWidget           *table, *frame, *alignment, *label;
382
382
        GtkSizeGroup        *group;
383
383
        gchar               *str;
384
384
        gint                 row = 0;