[epiphany] window-commands: Fix web app creation dialog



commit bdf7ccbac1648dcaf67b557c3968e847552003e0
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Thu Oct 13 18:26:45 2016 -0500

    window-commands: Fix web app creation dialog
    
    I broke this when removing deprecated declarations, and didn't notice
    because WebKit was broken at the time.

 src/window-commands.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/src/window-commands.c b/src/window-commands.c
index 9654735..c0db587 100644
--- a/src/window-commands.c
+++ b/src/window-commands.c
@@ -506,7 +506,6 @@ typedef struct {
   GtkWidget *image;
   GtkWidget *entry;
   GtkWidget *spinner;
-  GtkWidget *spinner_box;
   GtkWidget *box;
   char *icon_href;
   GdkRGBA icon_rgba;
@@ -1001,9 +1000,8 @@ window_cmd_save_as_application (GSimpleAction *action,
   data->image = image;
   data->entry = entry;
   data->spinner = spinner;
-  data->spinner_box = box;
 
-  g_object_bind_property (image, "visible", data->spinner_box, "visible", G_BINDING_INVERT_BOOLEAN);
+  g_object_bind_property (image, "visible", spinner, "visible", G_BINDING_INVERT_BOOLEAN);
 
   fill_default_application_image (data);
   fill_default_application_title (data);


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