diff options
Diffstat (limited to 'src/core/eggtrayicon.c')
-rw-r--r-- | src/core/eggtrayicon.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/eggtrayicon.c b/src/core/eggtrayicon.c index da2ee0e4..dc3f139e 100644 --- a/src/core/eggtrayicon.c +++ b/src/core/eggtrayicon.c | |||
@@ -651,13 +651,13 @@ initTrayIcon () | |||
651 | tray_quit = glade_xml_get_widget (trayContextMenuXML, "tray_quit"); | 651 | tray_quit = glade_xml_get_widget (trayContextMenuXML, "tray_quit"); |
652 | 652 | ||
653 | tray_icon = egg_tray_icon_new (_("GNU's p2p network")); | 653 | tray_icon = egg_tray_icon_new (_("GNU's p2p network")); |
654 | instDir = os_get_installation_path (IPK_DATADIR); | 654 | instDir = GNUNET_get_installation_path (GNUNET_IPK_DATADIR); |
655 | iconPath = MALLOC (strlen (instDir) + 40); | 655 | iconPath = GNUNET_malloc (strlen (instDir) + 40); |
656 | strcpy (iconPath, instDir); | 656 | strcpy (iconPath, instDir); |
657 | strcat (iconPath, "/../gnunet-gtk/gnunet-gtk-tray.png"); | 657 | strcat (iconPath, "/../gnunet-gtk/gnunet-gtk-tray.png"); |
658 | FREE (instDir); | 658 | GNUNET_free (instDir); |
659 | pixbuf = gdk_pixbuf_new_from_file (iconPath, NULL); | 659 | pixbuf = gdk_pixbuf_new_from_file (iconPath, NULL); |
660 | FREE (iconPath); | 660 | GNUNET_free (iconPath); |
661 | tray_icon_image = gtk_image_new_from_pixbuf (pixbuf); | 661 | tray_icon_image = gtk_image_new_from_pixbuf (pixbuf); |
662 | eventbox = gtk_event_box_new (); | 662 | eventbox = gtk_event_box_new (); |
663 | gtk_container_add (GTK_CONTAINER (eventbox), tray_icon_image); | 663 | gtk_container_add (GTK_CONTAINER (eventbox), tray_icon_image); |