aboutsummaryrefslogtreecommitdiff
path: root/security/pidgin-otr/files/patch-gtk-dialog.c
diff options
context:
space:
mode:
Diffstat (limited to 'security/pidgin-otr/files/patch-gtk-dialog.c')
-rw-r--r--security/pidgin-otr/files/patch-gtk-dialog.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/security/pidgin-otr/files/patch-gtk-dialog.c b/security/pidgin-otr/files/patch-gtk-dialog.c
new file mode 100644
index 000000000000..b53d75000b7f
--- /dev/null
+++ b/security/pidgin-otr/files/patch-gtk-dialog.c
@@ -0,0 +1,19 @@
+--- gtk-dialog.c.orig Tue Feb 8 18:31:12 2005
++++ gtk-dialog.c Thu Apr 21 17:31:33 2005
+@@ -156,6 +156,7 @@
+ const char *protocol_print;
+ GtkWidget *label;
+ GtkWidget *dialog;
++ OtrgDialogWaitHandle handle;
+
+ p = gaim_find_prpl(protocol);
+ protocol_print = (p ? p->info->name : "Unknown");
+@@ -166,7 +167,7 @@
+
+ dialog = create_dialog(GAIM_NOTIFY_MSG_INFO, title, primary, secondary,
+ 0, &label);
+- OtrgDialogWaitHandle handle = malloc(sizeof(struct s_OtrgDialogWait));
++ handle = malloc(sizeof(struct s_OtrgDialogWait));
+ handle->dialog = dialog;
+ handle->label = label;
+