diff options
author | David <dbphillipsnz@gmail.com> | 2014-04-30 11:56:44 +1200 |
---|---|---|
committer | David <dbphillipsnz@gmail.com> | 2014-04-30 11:56:44 +1200 |
commit | 69faf20805fa83517abe01f00060a9bbe0235da5 (patch) | |
tree | 74c6053e24fd4fee0b6c23d3b275d69f06db5230 | |
parent | 86b27fa02d16a0d906edcadce6b009e1402c56f8 (diff) | |
download | paramano-69faf20805fa83517abe01f00060a9bbe0235da5.tar.xz |
Inital jump to Gtk3
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | bat_tray/bat_tray.c | 2 | ||||
-rw-r--r-- | tray.c | 2 |
3 files changed, 3 insertions, 3 deletions
@@ -15,7 +15,7 @@ GTK_CFLAGS = -I/usr/include/gtk-2.0 \ -I/usr/include/gdk-pixbuf-2.0 \ -I/usr/include/atk-1.0 -GTK_LIBS = -lgtk-x11-2.0 \ +GTK_LIBS = -lgtk-3 \ -lgobject-2.0 diff --git a/bat_tray/bat_tray.c b/bat_tray/bat_tray.c index 181f8d5..ea7b3c7 100644 --- a/bat_tray/bat_tray.c +++ b/bat_tray/bat_tray.c @@ -135,7 +135,7 @@ void bat_tray_init() 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(update_tooltip), NULL); - gtk_timeout_add(5000, update_icon, NULL); + g_timeout_add(5000, update_icon, NULL); } @@ -242,7 +242,7 @@ void tray_init() g_signal_connect(G_OBJECT(tray), "query-tooltip", GTK_SIGNAL_FUNC(update_tooltip), NULL); g_signal_connect(G_OBJECT(tray), "popup-menu", GTK_SIGNAL_FUNC(popup_menu), NULL); g_signal_connect(G_OBJECT(tray), "activate", GTK_SIGNAL_FUNC(activate), NULL); - gtk_timeout_add(1000, update_icon, NULL); + g_timeout_add(1000, update_icon, NULL); tray_init_menu(); } |