* Fixes NB#96389, fixes the "Insert images.." use case
authorSergio Villar Senin <svillar@igalia.com>
Mon, 12 Jan 2009 12:47:51 +0000 (12:47 +0000)
committerSergio Villar Senin <svillar@igalia.com>
Mon, 12 Jan 2009 12:47:51 +0000 (12:47 +0000)
pmo-trunk-r7100

src/modest-ui-actions.c
src/modest-ui-actions.h

index df48261..a61fa17 100644 (file)
@@ -3126,11 +3126,10 @@ modest_ui_actions_on_select_editor_background_color (GtkAction *action,
 }
 
 void 
-modest_ui_actions_on_insert_image (GtkAction *action,
+modest_ui_actions_on_insert_image (GObject *object,
                                   ModestMsgEditWindow *window)
 {
        g_return_if_fail (MODEST_IS_MSG_EDIT_WINDOW (window));
-       g_return_if_fail (GTK_IS_ACTION (action));
 
 
        if (modest_platform_check_memory_low (MODEST_WINDOW(window), TRUE))
index b2e8885..2413195 100644 (file)
@@ -199,7 +199,7 @@ void     modest_ui_actions_on_select_editor_color      (GtkAction *action,
 void     modest_ui_actions_on_select_editor_background_color      (GtkAction *action,
                                                                   ModestMsgEditWindow *window);
 
-void     modest_ui_actions_on_insert_image             (GtkAction *action,
+void     modest_ui_actions_on_insert_image             (GObject *object,
                                                        ModestMsgEditWindow *window);
 
 void     modest_ui_actions_on_attach_file             (GtkAction *action,