[gnome-flashback/gnome-3-18] common: set fade_id to 0 before emitting fade signal



commit 309765a3ca29af259461f493ddd50e1cd3a10cd6
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date:   Sat Jun 11 19:49:20 2016 +0300

    common: set fade_id to 0 before emitting fade signal

 gnome-flashback/libcommon/gf-popup-window.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/gnome-flashback/libcommon/gf-popup-window.c b/gnome-flashback/libcommon/gf-popup-window.c
index 0683585..f4f5c6d 100644
--- a/gnome-flashback/libcommon/gf-popup-window.c
+++ b/gnome-flashback/libcommon/gf-popup-window.c
@@ -54,9 +54,8 @@ fade_out_cb (gpointer user_data)
     {
       gtk_widget_set_opacity (widget, 1.0);
 
-      g_signal_emit (window, signals[SIGNAL_FADE_FINISHED], 0);
-
       priv->fade_id = 0;
+      g_signal_emit (window, signals[SIGNAL_FADE_FINISHED], 0);
 
       return G_SOURCE_REMOVE;
     }


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