commit 665fe093cb053559deef0a9bc6c8d41e7ad6ca08
Author: Daniele Forsi <dani...@forsi.it>
Date:   Thu Feb 28 22:07:14 2013 +0100

    Fix showing tracks of selected artist on 64-bit systems
    
    The return value of gdk_threads_add_idle_full() is guint and is
    greater than 0; see
    
http://developer.gnome.org/gdk/2.22/gdk-Threads.html#gdk-threads-add-idle-full
    
    Bug reported in 
http://sourceforge.net/mailarchive/message.php?msg_id=30490385

 plugins/sorttab_display/normal_sorttab_page.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/plugins/sorttab_display/normal_sorttab_page.c 
b/plugins/sorttab_display/normal_sorttab_page.c
index ee00304..00d9c11 100644
--- a/plugins/sorttab_display/normal_sorttab_page.c
+++ b/plugins/sorttab_display/normal_sorttab_page.c
@@ -41,7 +41,7 @@
 #include "normal_sorttab_page.h"
 #include "sorttab_display_context_menu.h"
 
-#define NO_IDLE_SELECTION_CALLBACK -1
+#define NO_IDLE_SELECTION_CALLBACK 0
 
 G_DEFINE_TYPE( NormalSortTabPage, normal_sort_tab_page, GTK_TYPE_TREE_VIEW);
 
@@ -570,7 +570,7 @@ static gboolean _st_selection_changed_cb(gpointer data) {
 static void _st_selection_changed(GtkTreeSelection *selection, gpointer 
user_data) {
 
     NormalSortTabPage *self = NORMAL_SORT_TAB_PAGE(user_data);
-    gulong idleId = NO_IDLE_SELECTION_CALLBACK;
+    guint idleId = NO_IDLE_SELECTION_CALLBACK;
 
     if (self) {
         NormalSortTabPagePrivate *priv = 
NORMAL_SORT_TAB_PAGE_GET_PRIVATE(self);

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
gtkpod-cvs2 mailing list
gtkpod-cvs2@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gtkpod-cvs2

Reply via email to