[gnome-software/gnome-3-16] app folder dialog: Don't try to bind a nonexistent template child



commit f0c4355ee62e369733f5eef27fe3c8bdeb5091bd
Author: Kalev Lember <kalevlember gmail com>
Date:   Sun Jun 7 19:54:11 2015 +0200

    app folder dialog: Don't try to bind a nonexistent template child
    
    This fixes a critical warning that gtk+ emits when trying to bind a
    template child that doesn't exist in the ui file.

 src/gs-app-folder-dialog.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/src/gs-app-folder-dialog.c b/src/gs-app-folder-dialog.c
index 88b349f..4f9ad4e 100644
--- a/src/gs-app-folder-dialog.c
+++ b/src/gs-app-folder-dialog.c
@@ -33,7 +33,6 @@ struct _GsAppFolderDialogPrivate
 {
        GList            *apps;
        GsFolders        *folders;
-       GtkWidget        *header;
        GtkWidget        *cancel_button;
        GtkWidget        *done_button;
        GtkWidget        *app_folder_list;
@@ -160,7 +159,6 @@ gs_app_folder_dialog_class_init (GsAppFolderDialogClass *klass)
 
        gtk_widget_class_set_template_from_resource (widget_class, 
"/org/gnome/Software/app-folder-dialog.ui");
 
-       gtk_widget_class_bind_template_child_private (widget_class, GsAppFolderDialog, header);
        gtk_widget_class_bind_template_child_private (widget_class, GsAppFolderDialog, cancel_button);
        gtk_widget_class_bind_template_child_private (widget_class, GsAppFolderDialog, done_button);
        gtk_widget_class_bind_template_child_private (widget_class, GsAppFolderDialog, app_folder_list);


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