[epiphany] embed: Fix use of g_source_set_name_by_id



commit 6881e68c7b3b0b7e4039a2939c8e20ad791751e7
Author: Colin Walters <walters verbum org>
Date:   Fri Dec 20 14:12:20 2013 -0500

    embed: Fix use of g_source_set_name_by_id
    
    The compiler was warning us about this one.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=720846

 embed/ephy-file-monitor.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/embed/ephy-file-monitor.c b/embed/ephy-file-monitor.c
index 79e32a0..7620669 100644
--- a/embed/ephy-file-monitor.c
+++ b/embed/ephy-file-monitor.c
@@ -154,7 +154,7 @@ ephy_file_monitor_changed_cb (GFileMonitor *monitor,
       priv->reload_scheduled_id =
         g_timeout_add (RELOAD_DELAY,
                        (GSourceFunc)ephy_file_monitor_reload_cb, file_monitor);
-      g_source_set_name_by_id (ephy_file_monitor_reload_cb, "[epiphany] file_monitor");
+      g_source_set_name_by_id (priv->reload_scheduled_id, "[epiphany] file_monitor");
     }
   }
 }


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