diff options
Diffstat (limited to 'composer')
-rw-r--r-- | composer/ChangeLog | 7 | ||||
-rw-r--r-- | composer/e-msg-composer.c | 6 |
2 files changed, 12 insertions, 1 deletions
diff --git a/composer/ChangeLog b/composer/ChangeLog index 865e6dea5d..9e98dc4224 100644 --- a/composer/ChangeLog +++ b/composer/ChangeLog @@ -1,3 +1,10 @@ +2007-06-13 Sankar P <psankar@novell.com> + + * e-msg-composer.c: (composer_key_pressed): + Fixes build break. Includes a missing header. + Fixes an invalid variable name. + See #442631 + 2007-06-12 Bastien Nocera <hadess@hadess.net> * e-msg-composer.c: (composer_key_pressed): diff --git a/composer/e-msg-composer.c b/composer/e-msg-composer.c index ac355bbffa..c52783e990 100644 --- a/composer/e-msg-composer.c +++ b/composer/e-msg-composer.c @@ -126,6 +126,10 @@ #include "Editor.h" #include "listener.h" +#ifdef HAVE_XFREE +#include <X11/XF86keysym.h> +#endif + #define GNOME_GTKHTML_EDITOR_CONTROL_ID "OAFIID:GNOME_GtkHTML_Editor:" GTKHTML_API_VERSION #define d(x) @@ -3514,7 +3518,7 @@ composer_key_pressed (EMsgComposer *composer, GdkEventKey *event, void *user_dat #ifdef HAVE_XFREE if (event->keyval == XF86XK_Send) { - g_signal_emit (GTK_OBJECT (data), signals[SEND], 0); + g_signal_emit (GTK_OBJECT (user_data), signals[SEND], 0); g_signal_stop_emission_by_name (composer, "key-press-event"); return TRUE; } |