diff options
-rw-r--r-- | mail/ChangeLog | 6 | ||||
-rw-r--r-- | mail/mail-display.c | 4 |
2 files changed, 8 insertions, 2 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index 42d394ccf6..81b486a1d2 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,9 @@ +2003-01-14 Jeffrey Stedfast <fejj@ximian.com> + + * mail-display.c (pixmap_press): Change the user_data argument to + be of type gpointer instead of EScrollFrame, since, well, it's not + an EScrollFrame anymore. + 2003-01-14 Ettore Perazzoli <ettore@ximian.com> * Makefile.am (libevolution_mail_la_SOURCES): Add mail-format.h. diff --git a/mail/mail-display.c b/mail/mail-display.c index d2965de0b1..567966030a 100644 --- a/mail/mail-display.c +++ b/mail/mail-display.c @@ -440,7 +440,7 @@ button_press (GtkWidget *widget, CamelMimePart *part) } static gboolean -pixmap_press (GtkWidget *widget, GdkEventButton *event, EScrollFrame *user_data) +pixmap_press (GtkWidget *widget, GdkEventButton *event, gpointer user_data) { EPopupMenu *menu; EPopupMenu save_item = E_POPUP_ITEM (N_("Save Attachment..."), G_CALLBACK (save_cb), 0); @@ -469,7 +469,7 @@ pixmap_press (GtkWidget *widget, GdkEventButton *event, EScrollFrame *user_data) mess up our popup. */ g_signal_stop_emission_by_name (widget, "button_press_event"); - part = g_object_get_data((GObject *) widget, "CamelMimePart"); + part = g_object_get_data ((GObject *) widget, "CamelMimePart"); handler = mail_lookup_handler (g_object_get_data ((GObject *) widget, "mime_type")); if (handler && handler->applications) |