diff options
Diffstat (limited to 'src/ui/tray.c')
-rw-r--r-- | src/ui/tray.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/ui/tray.c b/src/ui/tray.c index 6d79b379..c1b07245 100644 --- a/src/ui/tray.c +++ b/src/ui/tray.c @@ -48,9 +48,9 @@ #include "ui/window_list.h" static gboolean gtk_ready = FALSE; -static GtkStatusIcon *prof_tray = NULL; -static GString *icon_filename = NULL; -static GString *icon_msg_filename = NULL; +static GtkStatusIcon* prof_tray = NULL; +static GString* icon_filename = NULL; +static GString* icon_msg_filename = NULL; static gint unread_messages; static gboolean shutting_down; static guint timer; @@ -66,7 +66,7 @@ static guint timer; static void _get_icons(void) { - GString *icons_dir = NULL; + GString* icons_dir = NULL; #ifdef ICONS_PATH @@ -79,18 +79,18 @@ _get_icons(void) #endif /* ICONS_PATH */ - gchar *icons_dir_s = files_get_config_path(DIR_ICONS); + gchar* icons_dir_s = files_get_config_path(DIR_ICONS); icons_dir = g_string_new(icons_dir_s); g_free(icons_dir_s); - GError *err = NULL; + GError* err = NULL; if (!g_file_test(icons_dir->str, G_FILE_TEST_IS_DIR)) { return; } - GDir *dir = g_dir_open(icons_dir->str, 0, &err); + GDir* dir = g_dir_open(icons_dir->str, 0, &err); if (dir) { - GString *name = g_string_new(g_dir_read_name(dir)); + GString* name = g_string_new(g_dir_read_name(dir)); while (name->len) { if (g_strcmp0("proIcon.png", name->str) == 0) { if (icon_filename) { |