[xchat-gnome] Bug 613059 - xchat-gnome's button-press event handler return values seems wrong



commit 80ac5a93fe7694a686afacf6e71495bd9d03c93c
Author: Cody Russell <bratsche gnome org>
Date:   Wed Mar 24 18:27:31 2010 +0530

    Bug 613059  - xchat-gnome's button-press event handler return values seems wrong

 src/fe-gnome/xtext.c |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/src/fe-gnome/xtext.c b/src/fe-gnome/xtext.c
index 7f1365a..4dd12e7 100644
--- a/src/fe-gnome/xtext.c
+++ b/src/fe-gnome/xtext.c
@@ -2207,7 +2207,7 @@ gtk_xtext_button_press (GtkWidget * widget, GdkEventButton * event)
 		} else
 			g_signal_emit (G_OBJECT (xtext), xtext_signals[WORD_CLICK], 0,
 								"", event);
-		return FALSE;
+		return TRUE;
 	}
 
 	if (event->button != 1)		  /* we only want left button */
@@ -2228,7 +2228,7 @@ gtk_xtext_button_press (GtkWidget * widget, GdkEventButton * event)
 			gtk_xtext_set_clip_owner (GTK_WIDGET (xtext), event);
 		}
 
-		return FALSE;
+		return TRUE;
 	}
 
 	if (event->type == GDK_3BUTTON_PRESS)	/* LINE select */
@@ -2244,7 +2244,7 @@ gtk_xtext_button_press (GtkWidget * widget, GdkEventButton * event)
 			gtk_xtext_set_clip_owner (GTK_WIDGET (xtext), event);
 		}
 
-		return FALSE;
+		return TRUE;
 	}
 
 	/* check if it was a separator-bar click */
@@ -2256,7 +2256,7 @@ gtk_xtext_button_press (GtkWidget * widget, GdkEventButton * event)
 			xtext->moving_separator = TRUE;
 			/* draw the separator line */
 			gtk_xtext_draw_sep (xtext, -1);
-			return FALSE;
+			return TRUE;
 		}
 	}
 
@@ -2265,7 +2265,7 @@ gtk_xtext_button_press (GtkWidget * widget, GdkEventButton * event)
 	xtext->select_start_y = y;
 	xtext->select_start_adj = xtext->adj->value;
 
-	return FALSE;
+	return TRUE;
 }
 
 /* another program has claimed the selection */



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