[Kazehakase-cvs] CVS update: kazehakase/src/dialogs

Back to archive index

Hiroyuki Ikezoe ikezo****@users*****
Sat Dec 30 21:51:02 JST 2006


Index: kazehakase/src/dialogs/kz-about-dialog.c
diff -u kazehakase/src/dialogs/kz-about-dialog.c:1.8 kazehakase/src/dialogs/kz-about-dialog.c:1.9
--- kazehakase/src/dialogs/kz-about-dialog.c:1.8	Mon Sep 18 12:09:33 2006
+++ kazehakase/src/dialogs/kz-about-dialog.c	Sat Dec 30 21:51:02 2006
@@ -128,14 +128,14 @@
 	gtk_window_set_position (GTK_WINDOW (about_dialog), GTK_WIN_POS_CENTER);
 	gtk_window_set_resizable (GTK_WINDOW (about_dialog), FALSE);
 
-	pixmap_name = g_strconcat(KZ_DATADIR, "/icons/kz-logo-bg.png", NULL);
+	pixmap_name = g_build_filename(KZ_DATADIR, "icons", "kz-logo-bg.png", NULL);
 	bg_pixmap = gtk_image_new_from_file(pixmap_name);
 	image = gtk_image_get_pixbuf(GTK_IMAGE(bg_pixmap));
 	bg_width  = gdk_pixbuf_get_width(image);
 	bg_height = gdk_pixbuf_get_height(image);
 	g_free(pixmap_name);
 
-	logo_name = g_strconcat(KZ_DATADIR, "/icons/kz-logo.png", NULL);
+	logo_name = g_build_filename(KZ_DATADIR, "icons", "kz-logo.png", NULL);
 	logo_pixmap = gtk_image_new_from_file(logo_name);
 	logo = gtk_image_get_pixbuf(GTK_IMAGE(logo_pixmap));
 	logo_width  = gdk_pixbuf_get_width(logo);


More information about the Kazehakase-cvs mailing list
Back to archive index