gnome-applets r11202 - trunk/trashapplet/src



Author: diegoe
Date: Thu Jan 15 00:37:03 2009
New Revision: 11202
URL: http://svn.gnome.org/viewvc/gnome-applets?rev=11202&view=rev

Log:
Remove libgnome from trashapplet

Modified:
   trunk/trashapplet/src/trashapplet.c
   trunk/trashapplet/src/trashapplet.h

Modified: trunk/trashapplet/src/trashapplet.c
==============================================================================
--- trunk/trashapplet/src/trashapplet.c	(original)
+++ trunk/trashapplet/src/trashapplet.c	Thu Jan 15 00:37:03 2009
@@ -32,7 +32,6 @@
 #include <gconf/gconf-client.h>
 #include <gio/gio.h>
 #include <panel-applet.h>
-#include <gnome.h>
 
 #include "trash-empty.h"
 #include "xstuff.h"
@@ -631,22 +630,6 @@
 int
 main (int argc, char *argv [])
 {
-  g_thread_init (NULL);
-
-  /* gettext stuff */
-  bindtextdomain (GETTEXT_PACKAGE, GNOMELOCALEDIR);
-  bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
-  textdomain (GETTEXT_PACKAGE);
-
-  gnome_authentication_manager_init();
-
-  gnome_program_init ("trashapplet", VERSION,
-                      LIBGNOMEUI_MODULE,
-                      argc, argv,
-                      GNOME_CLIENT_PARAM_SM_CONNECT, FALSE,
-                      GNOME_PROGRAM_STANDARD_PROPERTIES,
-                      NULL);
-
   gtk_window_set_default_icon_name ("user-trash");
   g_set_application_name (_("Trash Applet"));
 

Modified: trunk/trashapplet/src/trashapplet.h
==============================================================================
--- trunk/trashapplet/src/trashapplet.h	(original)
+++ trunk/trashapplet/src/trashapplet.h	Thu Jan 15 00:37:03 2009
@@ -23,7 +23,6 @@
 #define __TRASH_APPLET_H__
 
 #include <panel-applet.h>
-#include <gnome.h>
 #include "trash-monitor.h"
 
 #define TRASH_TYPE_APPLET (trash_applet_get_type ())



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