diff --git a/applets/brightness/brightness-applet.c b/applets/brightness/brightness-applet.c index 28e6f459..bafeeaaf 100644 --- a/applets/brightness/brightness-applet.c +++ b/applets/brightness/brightness-applet.c @@ -72,7 +72,6 @@ typedef struct{ GType gpm_brightness_applet_get_type (void); - #define GPM_DBUS_SERVICE "org.mate.PowerManager" #define GPM_DBUS_PATH_BACKLIGHT "/org/mate/PowerManager/Backlight" #define GPM_DBUS_INTERFACE_BACKLIGHT "org.mate.PowerManager.Backlight" diff --git a/applets/inhibit/inhibit-applet.c b/applets/inhibit/inhibit-applet.c index 1b689211..37382c48 100644 --- a/applets/inhibit/inhibit-applet.c +++ b/applets/inhibit/inhibit-applet.c @@ -89,7 +89,6 @@ static void gpm_applet_destroy_cb (GtkWidget *widget); #define MATE_PANEL_APPLET_VERTICAL(p) \ (((p) == MATE_PANEL_APPLET_ORIENT_LEFT) || ((p) == MATE_PANEL_APPLET_ORIENT_RIGHT)) - /** cookie is returned as an unsigned integer */ static gboolean gpm_applet_inhibit (GpmInhibitApplet *applet, @@ -210,7 +209,6 @@ gpm_applet_size_allocate_cb (GtkWidget *widget, gtk_image_set_pixel_size (GTK_IMAGE(applet->image), size); } - /** * gpm_applet_update_tooltip: * @applet: Inhibit applet instance @@ -357,7 +355,6 @@ gpm_inhibit_applet_class_init (GpmInhibitAppletClass *class) /* nothing to do here */ } - /** * gpm_inhibit_applet_dbus_connect: **/ diff --git a/src/gpm-brightness.c b/src/gpm-brightness.c index d4fcc800..c35f0286 100644 --- a/src/gpm-brightness.c +++ b/src/gpm-brightness.c @@ -773,7 +773,6 @@ gpm_brightness_down (GpmBrightness *brightness, gboolean *hw_changed) return ret; } - /** * gpm_brightness_may_have_changed: **/ @@ -804,7 +803,6 @@ gpm_brightness_filter_xevents (GdkXEvent *xevent, GdkEvent *event, gpointer data return GDK_FILTER_CONTINUE; } - static void gpm_brightness_update_cache (GpmBrightness *brightness); /** diff --git a/src/gpm-button.c b/src/gpm-button.c index 15d7625f..b7518263 100644 --- a/src/gpm-button.c +++ b/src/gpm-button.c @@ -303,7 +303,6 @@ gpm_button_is_lid_closed (GpmButton *button) } } - /** * gpm_button_reset_time: * diff --git a/src/gpm-common.c b/src/gpm-common.c index aca6ac57..7ee96be5 100644 --- a/src/gpm-common.c +++ b/src/gpm-common.c @@ -129,7 +129,6 @@ gpm_discrete_to_percent (guint discrete, guint levels) return (guint) (((gfloat) discrete * (100.0f / (gfloat) (levels - factor))) + 0.5f); } - /** * gpm_help_display: * @link_id: Subsection of mate-power-manager help section diff --git a/src/gpm-dpms.c b/src/gpm-dpms.c index 81a336f3..5e5af307 100644 --- a/src/gpm-dpms.c +++ b/src/gpm-dpms.c @@ -341,7 +341,6 @@ gpm_dpms_new (void) return GPM_DPMS (gpm_dpms_object); } - /*************************************************************************** *** MAKE CHECK TESTS *** ***************************************************************************/ diff --git a/src/gpm-manager.c b/src/gpm-manager.c index c16b62d1..09e4f241 100644 --- a/src/gpm-manager.c +++ b/src/gpm-manager.c @@ -520,7 +520,6 @@ gpm_manager_notify (GpmManager *manager, NotifyNotification **notification_class return ret; } - /** * gpm_manager_sleep_failure_response_cb: **/ diff --git a/src/gpm-manager.h b/src/gpm-manager.h index 9800b849..12b1f8ca 100644 --- a/src/gpm-manager.h +++ b/src/gpm-manager.h @@ -58,7 +58,6 @@ typedef enum GPM_MANAGER_ERROR_LAST } GpmManagerError; - GQuark gpm_manager_error_quark (void); GType gpm_manager_error_get_type (void); GType gpm_manager_get_type (void); diff --git a/src/gpm-screensaver.c b/src/gpm-screensaver.c index f1dc5623..b89f93ec 100644 --- a/src/gpm-screensaver.c +++ b/src/gpm-screensaver.c @@ -41,7 +41,6 @@ struct GpmScreensaverPrivate DBusGProxy *proxy; }; - static gpointer gpm_screensaver_object = NULL; G_DEFINE_TYPE_WITH_PRIVATE (GpmScreensaver, gpm_screensaver, G_TYPE_OBJECT) diff --git a/src/gpm-statistics.c b/src/gpm-statistics.c index 897e6ec5..8df24cd8 100644 --- a/src/gpm-statistics.c +++ b/src/gpm-statistics.c @@ -718,7 +718,6 @@ gpm_stats_update_info_data (UpDevice *device) "has-statistics", &has_statistics, NULL); - notebook = GTK_NOTEBOOK (gtk_builder_get_object (builder, "notebook1")); /* show info page */ diff --git a/src/gpm-tray-icon.c b/src/gpm-tray-icon.c index 013929f8..258c2424 100644 --- a/src/gpm-tray-icon.c +++ b/src/gpm-tray-icon.c @@ -447,7 +447,6 @@ gpm_tray_icon_popup_menu_cb (GtkStatusIcon *status_icon, guint button, guint32 t gpm_tray_icon_popup_menu (icon, timestamp); } - /** * gpm_tray_icon_activate_cb: * @button: Which buttons are pressed