From a22145376cf84960800237eb4669787d637a192a Mon Sep 17 00:00:00 2001 From: David Phillips Date: Wed, 20 Jun 2018 14:21:46 +1200 Subject: Port to Gtk3 --- bat_tray.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bat_tray.c') 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 */ -- cgit v1.1