Mercurial > pidgin.yaz
diff plugins/musicmessaging/musicmessaging.c @ 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 | ac07cafacb05 |
children | 21719fc8ea2d |
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);