changeset 11659:d9a7befbc3f1

[gaim-migrate @ 13944] this should fix the icon issues.. committer: Tailor Script <tailor@pidgin.im>
author Gary Kramlich <grim@reaperworld.com>
date Fri, 14 Oct 2005 03:47:37 +0000
parents 20edc3a05317
children a3302d271199
files plugins/musicmessaging/musicmessaging.c
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/musicmessaging/musicmessaging.c	Fri Oct 14 01:15:55 2005 +0000
+++ b/plugins/musicmessaging/musicmessaging.c	Fri Oct 14 03:47:37 2005 +0000
@@ -573,9 +573,10 @@
 
 	g_signal_connect(G_OBJECT(button), "toggled", G_CALLBACK(music_button_toggled), mmconv);
 
-	/* gchar *file_path = g_build_filename (DATADIR, "pixmaps", "gaim", "buttons", "music.png", NULL); */
-	gchar *file_path = "/usr/local/share/pixmaps/gaim/buttons/music.png";
+	gchar *file_path = g_build_filename(DATADIR, "pixmaps", "gaim", "buttons",
+										"music.png", NULL);
 	image = gtk_image_new_from_file(file_path);
+	g_free(file_path);
 
 	gtk_container_add((GtkContainer *)button, image);