Mercurial > pidgin.yaz
comparison pidgin/gtkimhtmltoolbar.c @ 17512:2d6ffc802e38
Minor change
author | Gabriel Schulhof <nix@go-nix.ca> |
---|---|
date | Sat, 26 May 2007 10:20:54 +0000 |
parents | 614cba328241 |
children | a127d57ed951 |
comparison
equal
deleted
inserted
replaced
17511:614cba328241 | 17512:2d6ffc802e38 |
---|---|
641 | 641 |
642 static gboolean | 642 static gboolean |
643 smiley_dialog_input_cb(GtkWidget *dialog, GdkEvent *event, GtkIMHtmlToolbar *toolbar) | 643 smiley_dialog_input_cb(GtkWidget *dialog, GdkEvent *event, GtkIMHtmlToolbar *toolbar) |
644 { | 644 { |
645 gboolean close_dialog = | 645 gboolean close_dialog = |
646 (GDK_KEY_PRESS == event->type) ? (GDK_Escape == event->key.keval) : | 646 (GDK_KEY_PRESS == event->type) ? (GDK_Escape == event->key.keyval) : |
647 (GDK_BUTTON_PRESS == event->type) ? (1 == event->button.button) : FALSE; | 647 (GDK_BUTTON_PRESS == event->type) ? (1 == event->button.button) : FALSE; |
648 | 648 |
649 if (close_dialog) | 649 if (close_dialog) |
650 close_smiley_dialog(NULL, NULL, toolbar); | 650 close_smiley_dialog(NULL, NULL, toolbar); |
651 | 651 |