diff options
author | rbuj <[email protected]> | 2021-10-27 18:05:47 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2021-12-11 15:16:31 +0100 |
commit | 35c80d8eaa892b3a7d510d791792c554336495e8 (patch) | |
tree | 919c27d5c70ede3c17d94e4f0a87ee702bf582af | |
parent | 1308a5b93d1736e605091107fcbc95dff1273635 (diff) | |
download | mate-power-manager-35c80d8eaa892b3a7d510d791792c554336495e8.tar.bz2 mate-power-manager-35c80d8eaa892b3a7d510d791792c554336495e8.tar.xz |
Use a blank line at most
-rw-r--r-- | applets/brightness/brightness-applet.c | 1 | ||||
-rw-r--r-- | applets/inhibit/inhibit-applet.c | 3 | ||||
-rw-r--r-- | src/gpm-brightness.c | 2 | ||||
-rw-r--r-- | src/gpm-button.c | 1 | ||||
-rw-r--r-- | src/gpm-common.c | 1 | ||||
-rw-r--r-- | src/gpm-dpms.c | 1 | ||||
-rw-r--r-- | src/gpm-manager.c | 1 | ||||
-rw-r--r-- | src/gpm-manager.h | 1 | ||||
-rw-r--r-- | src/gpm-screensaver.c | 1 | ||||
-rw-r--r-- | src/gpm-statistics.c | 1 | ||||
-rw-r--r-- | src/gpm-tray-icon.c | 1 |
11 files changed, 0 insertions, 14 deletions
diff --git a/applets/brightness/brightness-applet.c b/applets/brightness/brightness-applet.c index 28e6f45..bafeeaa 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 1b68921..37382c4 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 d4fcc80..c35f028 100644 --- a/src/gpm-brightness.c +++ b/src/gpm-brightness.c @@ -773,7 +773,6 @@ out: 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 15d7625..b751826 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 aca6ac5..7ee96be 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 81a336f..5e5af30 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 c16b62d..09e4f24 100644 --- a/src/gpm-manager.c +++ b/src/gpm-manager.c @@ -520,7 +520,6 @@ out: return ret; } - /** * gpm_manager_sleep_failure_response_cb: **/ diff --git a/src/gpm-manager.h b/src/gpm-manager.h index 9800b84..12b1f8c 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 f1dc562..b89f93e 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 897e6ec..8df24cd 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 013929f..258c242 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 |