changeset 17511:614cba328241

Minor fix
author Gabriel Schulhof <nix@go-nix.ca>
date Sat, 26 May 2007 10:19:27 +0000
parents 8428beecff2f
children 2d6ffc802e38
files pidgin/gtkimhtmltoolbar.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/pidgin/gtkimhtmltoolbar.c	Sat May 26 10:03:55 2007 +0000
+++ b/pidgin/gtkimhtmltoolbar.c	Sat May 26 10:19:27 2007 +0000
@@ -643,8 +643,8 @@
 smiley_dialog_input_cb(GtkWidget *dialog, GdkEvent *event, GtkIMHtmlToolbar *toolbar)
 {
 	gboolean close_dialog = 
-		(GDK_EVENT_KEY    == event->type) ? (GDK_Escape == event->key.keval) :
-		(GDK_EVENT_BUTTON == event->type) ? (1 == event->button.button) : FALSE;
+		(GDK_KEY_PRESS    == event->type) ? (GDK_Escape == event->key.keval) :
+		(GDK_BUTTON_PRESS == event->type) ? (1 == event->button.button) : FALSE;
 
 	if (close_dialog)
 		close_smiley_dialog(NULL, NULL, toolbar);