gnome-panel r11020 - trunk/applets/clock



Author: vuntz
Date: Tue Apr  8 23:23:03 2008
New Revision: 11020
URL: http://svn.gnome.org/viewvc/gnome-panel?rev=11020&view=rev

Log:
2008-04-09  Vincent Untz  <vuntz gnome org>

	* gnome-clock-applet-mechanism.c: (_set_time),
	(_rh_update_etc_sysconfig_clock): remove useless declarations


Modified:
   trunk/applets/clock/ChangeLog
   trunk/applets/clock/gnome-clock-applet-mechanism.c

Modified: trunk/applets/clock/gnome-clock-applet-mechanism.c
==============================================================================
--- trunk/applets/clock/gnome-clock-applet-mechanism.c	(original)
+++ trunk/applets/clock/gnome-clock-applet-mechanism.c	Tue Apr  8 23:23:03 2008
@@ -69,8 +69,6 @@
         PolKitContext   *pol_ctx;
 };
 
-static void     gnome_clock_applet_mechanism_class_init  (GnomeClockAppletMechanismClass *klass);
-static void     gnome_clock_applet_mechanism_init        (GnomeClockAppletMechanism      *seat);
 static void     gnome_clock_applet_mechanism_finalize    (GObject     *object);
 
 G_DEFINE_TYPE (GnomeClockAppletMechanism, gnome_clock_applet_mechanism, G_TYPE_OBJECT)
@@ -322,11 +320,6 @@
            DBusGMethodInvocation        *context)
 {
         GError *error;
-        const char *sender;
-        DBusError dbus_error;
-        PolKitCaller *pk_caller;
-        PolKitAction *pk_action;
-        PolKitResult pk_result;
 
         if (!_check_polkit_for_action (mechanism, context, "org.gnome.clockapplet.mechanism.settime"))
                 return FALSE;
@@ -374,7 +367,6 @@
 {
         /* On Red Hat / Fedora, the /etc/sysconfig/clock file needs to be kept in sync */
         if (g_file_test ("/etc/sysconfig/clock", G_FILE_TEST_EXISTS | G_FILE_TEST_IS_REGULAR)) {
-                char *p;
                 char **lines;
                 int n;
                 gboolean replaced;



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