[ekiga] RosterViewGtk: Fixed invalid source ID warning.
- From: Damien Sandras <dsandras src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ekiga] RosterViewGtk: Fixed invalid source ID warning.
- Date: Sun, 11 Jan 2015 14:21:31 +0000 (UTC)
commit a39d9042fb19489b2038c0a6d3b12427dc55b872
Author: Damien Sandras <dsandras seconix com>
Date: Sun Jan 11 15:19:27 2015 +0100
RosterViewGtk: Fixed invalid source ID warning.
We also need to reset the timeout ID when the icon blinking callback
triggers the source removal.
lib/engine/gui/gtk-frontend/roster-view-gtk.cpp | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/lib/engine/gui/gtk-frontend/roster-view-gtk.cpp b/lib/engine/gui/gtk-frontend/roster-view-gtk.cpp
index e3caa43..cfec8f4 100644
--- a/lib/engine/gui/gtk-frontend/roster-view-gtk.cpp
+++ b/lib/engine/gui/gtk-frontend/roster-view-gtk.cpp
@@ -485,6 +485,7 @@ roster_view_gtk_icon_blink_cb (gpointer data)
if (presence && strcmp (presence, "unknown"))
icon = "user-" + std::string(presence);
gtk_tree_store_set (GTK_TREE_STORE (info->model), info->iter,
+ COLUMN_TIMEOUT, 0,
COLUMN_PRESENCE_ICON, icon.c_str (),
-1);
return FALSE;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]