From 5e23c9545f28ee836152b8eff4e3bb1b29eec430 Mon Sep 17 00:00:00 2001 From: Hugo Villeneuve Date: Wed, 9 Apr 2014 22:41:26 -0400 Subject: [PATCH] Rename GNOME_ICONDIR macro to ICONDIR --- src/Makefile.am | 2 +- src/grip.c | 2 +- src/tray.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Makefile.am b/src/Makefile.am index 9088ece..1cd0108 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,6 +1,6 @@ AM_CPPFLAGS = \ $(WARNINGCFLAGS) \ - -DGNOME_ICONDIR=\""$(datadir)/pixmaps"\" \ + -DICONDIR=\""$(datadir)/pixmaps"\" \ -DLOCALEDIR=\"$(localedir)\" \ -DDOCDIR=\""$(docdir)"\" diff --git a/src/grip.c b/src/grip.c index f0e2f2f..41699e8 100644 --- a/src/grip.c +++ b/src/grip.c @@ -317,7 +317,7 @@ GtkWidget *GripNew(const gchar* geometry,char *device,char *scsi_device, gtk_container_add(GTK_CONTAINER(app), uinfo->winbox); gtk_widget_show(uinfo->winbox); - gtk_window_set_icon_from_file(GTK_WINDOW(app), GNOME_ICONDIR"/gripicon.png", NULL); + gtk_window_set_icon_from_file(GTK_WINDOW(app), ICONDIR"/gripicon.png", NULL); CheckNewDisc(ginfo,FALSE); diff --git a/src/tray.c b/src/tray.c index 64ff009..3552b3e 100644 --- a/src/tray.c +++ b/src/tray.c @@ -172,7 +172,7 @@ static void MakeTrayIcon(GripInfo *ginfo) gtk_container_add(GTK_CONTAINER(uinfo->tray_icon), uinfo->tray_ebox); - image = gtk_image_new_from_file(GNOME_ICONDIR"/griptray.png"); + image = gtk_image_new_from_file(ICONDIR"/griptray.png"); gtk_container_add(GTK_CONTAINER(uinfo->tray_ebox), image); -- 2.20.1