[Goodies-commits] r6457 - ristretto/trunk/src

Stephan Arts stephan at xfce.org
Wed Jan 14 16:44:17 CET 2009


Author: stephan
Date: 2009-01-14 15:44:17 +0000 (Wed, 14 Jan 2009)
New Revision: 6457

Modified:
   ristretto/trunk/src/main.c
   ristretto/trunk/src/main_window.h
Log:
Fix issue eht16 mentioned



Modified: ristretto/trunk/src/main.c
===================================================================
--- ristretto/trunk/src/main.c	2009-01-14 15:26:02 UTC (rev 6456)
+++ ristretto/trunk/src/main.c	2009-01-14 15:44:17 UTC (rev 6457)
@@ -225,7 +225,7 @@
     textdomain (GETTEXT_PACKAGE);
     #endif
 
-    if(!gtk_init_with_args(&argc, &argv, _(""), entries, PACKAGE, &cli_error))
+    if(!gtk_init_with_args(&argc, &argv, "", entries, PACKAGE, &cli_error))
     {
         if (cli_error != NULL)
         {
@@ -253,14 +253,6 @@
         g_free (program);
     }
 
-    program = g_find_program_in_path ("gconftool");
-    if (G_LIKELY (program != NULL))
-    {
-        rstto_has_gconftool = TRUE;
-        g_free (program);
-    }
-
-
     gtk_window_set_default_icon_name("ristretto");
     xfce_rc = xfce_rc_config_open(XFCE_RESOURCE_CONFIG, "ristretto/ristrettorc", FALSE);
 

Modified: ristretto/trunk/src/main_window.h
===================================================================
--- ristretto/trunk/src/main_window.h	2009-01-14 15:26:02 UTC (rev 6456)
+++ ristretto/trunk/src/main_window.h	2009-01-14 15:44:17 UTC (rev 6457)
@@ -64,7 +64,6 @@
 } RsttoDesktop;
 
 static gboolean rstto_has_xfconf_query = FALSE;
-static gboolean rstto_has_gconftool = FALSE;
 
 
 GType      rstto_main_window_get_type();




More information about the Goodies-commits mailing list