]> Pileus Git - ~andy/gtk/blobdiff - tests/testfilechooser.c
handle GTK_DATADIR similar as the other filesystem placement 'constants'
[~andy/gtk] / tests / testfilechooser.c
index 193bba2d8f0b06f925160f524267cdc0922b05da..16ee76447ed8241fb8b8462f54b2d396d1823caf 100644 (file)
@@ -32,7 +32,7 @@ print_current_folder (GtkFileChooser *chooser)
   gchar *uri;
 
   uri = gtk_file_chooser_get_current_folder_uri (chooser);
-  g_print ("Current folder changed :\n  %s\n", uri);
+  g_print ("Current folder changed :\n  %s\n", uri ? uri : "(null)");
   g_free (uri);
 }