summaryrefslogtreecommitdiffstats
path: root/mail/evolution/files/patch-plugins_print-message_print-message.c
blob: ab20f43453083d482235534f6c39ebabd16d71e3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- plugins/print-message/print-message.c.orig  Wed Jun 15 19:36:52 2005
+++ plugins/print-message/print-message.c   Wed Jun 15 19:37:09 2005
@@ -74,13 +74,14 @@ org_gnome_print_message (EPlugin *ep, EM
 
            EMsgComposer *composer = (EMsgComposer *)t->target.widget;
    struct _print_data *data;
+   GtkDialog *dialog;
    
    data = g_malloc0(sizeof(*data));
    data->config = e_print_load_config ();
    data->preview = 0;
    
    data->msg = e_msg_composer_get_message (composer, 1);
-   GtkDialog *dialog = (GtkDialog *)e_print_get_dialog_with_config (_("Print Message"), GNOME_PRINT_DIALOG_COPIES, data->config);
+   dialog = (GtkDialog *)e_print_get_dialog_with_config (_("Print Message"), GNOME_PRINT_DIALOG_COPIES, data->config);
     gtk_dialog_set_default_response(dialog, GNOME_PRINT_DIALOG_RESPONSE_PRINT);
    e_dialog_set_transient_for ((GtkWindow *) dialog, (GtkWidget *) composer);
    g_signal_connect(dialog, "response", G_CALLBACK(print_response), data);