[gtk+/composite-templates-new: 24/26] GtkRecentChooserDialog: Removed obsolete calls



commit 5354a36ffde95d6c96fdf470a46ba47cbdf87a27
Author: Tristan Van Berkom <tristanvb openismus com>
Date:   Tue Mar 26 22:05:06 2013 +0900

    GtkRecentChooserDialog: Removed obsolete calls
    
    Removed calls to gtk_widget_push/pop_composite_child() as
    they are meaningless.
    
    Not converting this class to use GtkBuilder templates because
    the GtkRecentChooserWidget needs a construct-only property, and
    it's only a GtkDialog with a packed GtkRecentChooser in the content
    area, there's nothing really to define here in GtkBuilder XML.

 gtk/gtkrecentchooserdialog.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/gtk/gtkrecentchooserdialog.c b/gtk/gtkrecentchooserdialog.c
index 85cb899..657176f 100644
--- a/gtk/gtkrecentchooserdialog.c
+++ b/gtk/gtkrecentchooserdialog.c
@@ -199,8 +199,6 @@ gtk_recent_chooser_dialog_constructor (GType                  type,
                                                                                 construct_params);
   priv = GTK_RECENT_CHOOSER_DIALOG_GET_PRIVATE (object);
   
-  gtk_widget_push_composite_child ();
-  
   if (priv->manager)
     priv->chooser = g_object_new (GTK_TYPE_RECENT_CHOOSER_WIDGET,
                                  "recent-manager", priv->manager,
@@ -222,8 +220,6 @@ gtk_recent_chooser_dialog_constructor (GType                  type,
   _gtk_recent_chooser_set_delegate (GTK_RECENT_CHOOSER (object),
                                    GTK_RECENT_CHOOSER (priv->chooser));
   
-  gtk_widget_pop_composite_child ();
-  
   return object;
 }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]