pidgin/pidgin

Fix two gtk3 warnings

2014-03-22, Tomasz Wasilczyk
cdde8099c4f0
Parents 546b26744669
Children 6283b3708b03
Fix two gtk3 warnings
--- a/pidgin/gtkblist.c Sat Mar 22 00:29:12 2014 -0500
+++ b/pidgin/gtkblist.c Sat Mar 22 11:58:20 2014 +0100
@@ -5921,7 +5921,9 @@
GError *error;
GtkAccelGroup *accel_group;
GtkTreeSelection *selection;
+#if ! GTK_CHECK_VERSION(3,0,0)
int blist_width;
+#endif
GtkTargetEntry dte[] = {{"PURPLE_BLIST_NODE", GTK_TARGET_SAME_APP, DRAG_ROW},
{"application/x-im-contact", 0, DRAG_BUDDY},
{"text/x-vcard", 0, DRAG_VCARD },
--- a/pidgin/gtkprefs.c Sat Mar 22 00:29:12 2014 -0500
+++ b/pidgin/gtkprefs.c Sat Mar 22 11:58:20 2014 +0100
@@ -561,7 +561,7 @@
sample_webview = NULL;
-#if USE_VV
+#ifdef USE_VV
voice_level = NULL;
voice_threshold = NULL;
voice_volume = NULL;