summaryrefslogtreecommitdiff
path: root/network/qTox/patches/remove_statusnotifier_dependency.diff
diff options
context:
space:
mode:
authorMario Preksavec <mario at slackware dot hr>2015-04-24 23:06:30 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-04-24 23:06:30 +0700
commit64036616072e51960d00201e6adf76deab31f0fa (patch)
tree79588890f976d99eae0699893cfe3db5a84beb11 /network/qTox/patches/remove_statusnotifier_dependency.diff
parent8d52fc92fd319ba7ac6fb4e922eff5fa98eaf8a5 (diff)
downloadslackbuilds-64036616072e51960d00201e6adf76deab31f0fa.tar.gz
network/qTox: Added (Qt Tox client).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
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());