Rename GNOME_ICONDIR macro to ICONDIR
authorHugo Villeneuve <hugo@hugovil.com>
Thu, 10 Apr 2014 02:41:26 +0000 (22:41 -0400)
committerHugo Villeneuve <hugo@hugovil.com>
Mon, 18 Sep 2023 20:56:56 +0000 (16:56 -0400)
src/Makefile.am
src/grip.c
src/tray.c

index 9088ece..1cd0108 100644 (file)
@@ -1,6 +1,6 @@
 AM_CPPFLAGS = \
     $(WARNINGCFLAGS) \
-    -DGNOME_ICONDIR=\""$(datadir)/pixmaps"\" \
+    -DICONDIR=\""$(datadir)/pixmaps"\" \
     -DLOCALEDIR=\"$(localedir)\" \
     -DDOCDIR=\""$(docdir)"\"
 
index f0e2f2f..41699e8 100644 (file)
@@ -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);
 
index 64ff009..3552b3e 100644 (file)
@@ -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);