fix crash when the ui is hidden. okan@ ok
This commit is contained in:
parent
746d7738a3
commit
896025b6fe
@ -1,8 +1,9 @@
|
||||
# $OpenBSD: Makefile,v 1.3 2007/11/29 14:07:42 okan Exp $
|
||||
# $OpenBSD: Makefile,v 1.4 2007/12/05 21:43:54 fgsch Exp $
|
||||
|
||||
COMMENT= allows deniable private conversations using Pidgin
|
||||
|
||||
DISTNAME= pidgin-otr-3.1.0
|
||||
PKGNAME= ${DISTNAME}p0
|
||||
CATEGORIES= security net
|
||||
|
||||
HOMEPAGE= http://www.cypherpunks.ca/otr/
|
||||
|
13
security/pidgin-otr/patches/patch-gtk-dialog_c
Normal file
13
security/pidgin-otr/patches/patch-gtk-dialog_c
Normal file
@ -0,0 +1,13 @@
|
||||
$OpenBSD: patch-gtk-dialog_c,v 1.1 2007/12/05 21:43:54 fgsch Exp $
|
||||
--- gtk-dialog.c.orig Mon Dec 3 05:18:32 2007
|
||||
+++ gtk-dialog.c Mon Dec 3 05:19:11 2007
|
||||
@@ -2016,6 +2016,9 @@ static void otrg_gtk_dialog_new_conv(PurpleConversatio
|
||||
GtkWidget *menusmp;
|
||||
GtkWidget *whatsthis;
|
||||
|
||||
+ if (!gtkconv)
|
||||
+ return;
|
||||
+
|
||||
/* Do nothing if this isn't an IM conversation */
|
||||
if (purple_conversation_get_type(conv) != PURPLE_CONV_TYPE_IM) return;
|
||||
bbox = gtkconv->lower_hbox;
|
Loading…
Reference in New Issue
Block a user