[Planner Dev] CSV not building due to planner_application_get_gconf_client (void) changes not in all code in CVS.




CVS not building, checked with viewcvs on the live CVS and
it too is wrong with planner-sql-plugin.c and planner-python-plugin.c
being out of step with what planner_application_get_gconf_client () is
now.

I always thought ViewCVS was always in sync with live CVS so
must be a broken build. Attached is patch to fix that.

Rgds,
Lincoln.
Index: src/planner-python-plugin.c
===================================================================
RCS file: /cvs/gnome/planner/src/planner-python-plugin.c,v
retrieving revision 1.3
diff -u -b -B -p -r1.3 planner-python-plugin.c
--- a/src/planner-python-plugin.c	14 May 2004 13:22:35 -0000	1.3
+++ b/src/planner-python-plugin.c	20 Jun 2004 00:24:01 -0000
@@ -117,7 +117,7 @@ get_last_dir (PlannerWindow *window)
 	
 	priv = window->priv;
 	
-	gconf_client = planner_application_get_gconf_client (priv->application);
+	gconf_client = planner_application_get_gconf_client ();
 	
 	last_dir = gconf_client_get_string (gconf_client,
 					    GCONF_PATH "/general/last_dir",
Index: src/planner-sql-plugin.c
===================================================================
RCS file: /cvs/gnome/planner/src/planner-sql-plugin.c,v
retrieving revision 1.10
diff -u -b -B -p -r1.10 planner-sql-plugin.c
--- a/src/planner-sql-plugin.c	17 Apr 2004 15:26:08 -0000	1.10
+++ b/src/planner-sql-plugin.c	20 Jun 2004 00:24:02 -0000
@@ -507,12 +507,9 @@ sql_plugin_retrieve_db_values (PlannerPl
 	GtkWidget          *user_entry;
 	GtkWidget          *password_entry;
 	gboolean            ret;
-	PlannerApplication *application;
 	GConfClient        *gconf_client;
 
-	application = planner_window_get_application (plugin->main_window);
-	
-	gconf_client = planner_application_get_gconf_client (application);
+	gconf_client = planner_application_get_gconf_client ();
 
 	gui = glade_xml_new (GLADEDIR"/sql.glade", "open_dialog" , NULL);
 	dialog = glade_xml_get_widget (gui, "open_dialog");


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