[gnome-software] app folder dialog: Don't try to bind a nonexistent template child
- From: Kalev Lember <klember src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] app folder dialog: Don't try to bind a nonexistent template child
- Date: Sun, 7 Jun 2015 19:59:07 +0000 (UTC)
commit c4b0d4c3254c4f69dd9abd043659e91ac86a23c6
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]