* src/summaryview.c
authorAlfons Hoogervorst <alfons@proteus.demon.nl>
Sun, 13 Jul 2003 12:16:14 +0000 (12:16 +0000)
committerAlfons Hoogervorst <alfons@proteus.demon.nl>
Sun, 13 Jul 2003 12:16:14 +0000 (12:16 +0000)
correct summary_toggle_pressed() signature and make sure
signal is not passed on

ChangeLog.claws
configure.ac
src/summaryview.c

index f8a216d..8381bf7 100644 (file)
@@ -1,3 +1,9 @@
+2003-07-13 [alfons]    0.9.3claws4
+
+       * src/summaryview.c
+               correct summary_toggle_pressed() signature and make sure
+               signal is not passed on
+
 2003-07-13 [alfons]    0.9.3claws3
 
        * src/summaryview.c
index f8b92e9..c7092d4 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=9
 MICRO_VERSION=3
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=claws3
+EXTRA_VERSION=claws4
 VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION
 
 dnl set $target
index 642f43e..8263731 100644 (file)
@@ -254,7 +254,7 @@ static void summary_colorlabel_menu_create(SummaryView      *summaryview);
 static GtkWidget *summary_ctree_create (SummaryView    *summaryview);
 
 /* callback functions */
-static void summary_toggle_pressed     (GtkWidget              *eventbox,
+static gint summary_toggle_pressed     (GtkWidget              *eventbox,
                                         GdkEventButton         *event,
                                         SummaryView            *summaryview);
 static void summary_button_pressed     (GtkWidget              *ctree,
@@ -4411,12 +4411,12 @@ void summary_set_column_order(SummaryView *summaryview)
 
 /* callback functions */
 
-static void summary_toggle_pressed(GtkWidget *eventbox, GdkEventButton *event,
+static gint summary_toggle_pressed(GtkWidget *eventbox, GdkEventButton *event,
                                   SummaryView *summaryview)
 {
-       if (!event) return;
-
-       summary_toggle_view(summaryview);
+       if (event)  
+               summary_toggle_view(summaryview);
+       return TRUE;
 }
 
 static void summary_button_pressed(GtkWidget *ctree, GdkEventButton *event,