[planner] Use gtk_init() instead gnome_program_init()



commit ce9da9b7ed30ec19508c3be5e8b38e1fa438eef2
Author: Javier Jardón <jjardon gnome org>
Date:   Mon Mar 22 00:17:40 2010 +0100

    Use gtk_init() instead gnome_program_init()

 eds-backend/utils/create-planner-source.c |    6 +-----
 1 files changed, 1 insertions(+), 5 deletions(-)
---
diff --git a/eds-backend/utils/create-planner-source.c b/eds-backend/utils/create-planner-source.c
index 585f262..3dbd6c8 100644
--- a/eds-backend/utils/create-planner-source.c
+++ b/eds-backend/utils/create-planner-source.c
@@ -22,7 +22,6 @@
 #include <config.h>
 #include <gconf/gconf-client.h>
 #include <glib.h>
-#include <libgnome/gnome-init.h>
 #include <libedataserver/e-source-list.h>
 
 static GConfClient *conf_client;
@@ -70,10 +69,7 @@ idle_cb (gpointer data)
 int
 main (int argc, char *argv[])
 {
-	gnome_program_init (PACKAGE, VERSION,
-			    LIBGNOME_MODULE,
-			    argc, argv,
-			    NULL);
+	gtk_init (&argc, &argv);
 
 	if (argc != 2) {
 		g_print ("Usage: %s planner_file \n", argv[0]);



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