summaryrefslogtreecommitdiffstats
path: root/network/qTox/patches/remove_statusnotifier_dependency.diff
diff options
context:
space:
mode:
Diffstat (limited to 'network/qTox/patches/remove_statusnotifier_dependency.diff')
-rw-r--r--network/qTox/patches/remove_statusnotifier_dependency.diff13
1 files changed, 13 insertions, 0 deletions
diff --git a/network/qTox/patches/remove_statusnotifier_dependency.diff b/network/qTox/patches/remove_statusnotifier_dependency.diff
new file mode 100644
index 0000000000..b8ccefcee3
--- /dev/null
+++ b/network/qTox/patches/remove_statusnotifier_dependency.diff
@@ -0,0 +1,13 @@
+--- qTox-3223707/src/widget/systemtrayicon.cpp.orig 2015-04-05 22:37:15.000000000 +0200
++++ qTox-3223707/src/widget/systemtrayicon.cpp 2015-04-16 02:22:08.955184668 +0200
+@@ -230,8 +233,8 @@
+ g_signal_connect(item, "activate", G_CALLBACK(callback), a);
+ gtk_widget_show(item);
+ }
+- void (*callbackMenu)(StatusNotifier*, gint, gint, gpointer) =
+- [](StatusNotifier*, gint, gint, gpointer data)
++ void (*callbackMenu)(GtkMenu*, gint, gint, gpointer) =
++ [](GtkMenu*, gint, gint, gpointer data)
+ {
+ gtk_widget_show_all(((SystemTrayIcon*)data)->gtkMenu);
+ gtk_menu_popup(GTK_MENU(((SystemTrayIcon*)data)->gtkMenu), 0, 0, 0, 0, 3, gtk_get_current_event_time());