gnome-bluetooth r516 - trunk/applet



Author: hadess
Date: Fri Mar 20 16:23:17 2009
New Revision: 516
URL: http://svn.gnome.org/viewvc/gnome-bluetooth?rev=516&view=rev

Log:
Don't crash when running installed

$(pkgdatadir) doesn't always have a trailing slash.



Modified:
   trunk/applet/main.c

Modified: trunk/applet/main.c
==============================================================================
--- trunk/applet/main.c	(original)
+++ trunk/applet/main.c	Fri Mar 20 16:23:17 2009
@@ -253,7 +253,7 @@
 
 	xml = gtk_builder_new ();
 	if (gtk_builder_add_from_file (xml, "popup-menu.ui", NULL) == 0)
-		gtk_builder_add_from_file (xml, PKGDATADIR "popup-menu.ui", NULL);
+		gtk_builder_add_from_file (xml, PKGDATADIR "/popup-menu.ui", NULL);
 
 	if (killswitch != NULL) {
 		GObject *object;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]