aboutsummaryrefslogtreecommitdiff
path: root/bat_tray.c
diff options
context:
space:
mode:
authorDavid Phillips <david@sighup.nz>2018-06-20 14:21:46 +1200
committerDavid Phillips <david@sighup.nz>2018-06-20 14:21:46 +1200
commita22145376cf84960800237eb4669787d637a192a (patch)
treec640bdf395597578e750edc22ae65c3783588e26 /bat_tray.c
parent9ddb79b8c53393be5b15170089201b2592533ba4 (diff)
downloadparamano-a22145376cf84960800237eb4669787d637a192a.tar.xz
Port to Gtk3
Diffstat (limited to 'bat_tray.c')
-rw-r--r--bat_tray.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bat_tray.c b/bat_tray.c
index 70d3abd..e4f7c39 100644
--- a/bat_tray.c
+++ b/bat_tray.c
@@ -208,7 +208,7 @@ void bat_tray_init()
snprintf(icon_file, sizeof(icon_file), "%s/bat-charged.png", DEFAULT_THEME);
gtk_status_icon_set_from_file(tray, icon_file);
gtk_status_icon_set_has_tooltip (tray, TRUE);
- g_signal_connect(G_OBJECT(tray), "query-tooltip", GTK_SIGNAL_FUNC(show_tooltip), NULL);
+ g_signal_connect(G_OBJECT(tray), "query-tooltip", G_CALLBACK(show_tooltip), NULL);
g_timeout_add(10000, update, NULL);
/* trigger icon refresh in update() below */