diff options
author | David Phillips <david@sighup.nz> | 2018-06-20 14:21:46 +1200 |
---|---|---|
committer | David Phillips <david@sighup.nz> | 2018-06-20 14:21:46 +1200 |
commit | a22145376cf84960800237eb4669787d637a192a (patch) | |
tree | c640bdf395597578e750edc22ae65c3783588e26 /bat_tray.c | |
parent | 9ddb79b8c53393be5b15170089201b2592533ba4 (diff) | |
download | paramano-a22145376cf84960800237eb4669787d637a192a.tar.xz |
Port to Gtk3
Diffstat (limited to 'bat_tray.c')
-rw-r--r-- | bat_tray.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 */ |