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



commit f91f462a71ab90d27be155604817fd6f4bb9d3e3
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 aa90928..ad057b7 100644
--- a/src/gs-app-folder-dialog.c
+++ b/src/gs-app-folder-dialog.c
@@ -32,7 +32,6 @@ struct _GsAppFolderDialogPrivate
 {
        GList            *apps;
        GsFolders        *folders;
-       GtkWidget        *header;
        GtkWidget        *cancel_button;
        GtkWidget        *done_button;
        GtkWidget        *app_folder_list;
@@ -159,7 +158,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]