Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use a blank line at most #368

Merged
merged 1 commit into from
Dec 11, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion applets/brightness/brightness-applet.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
3 changes: 0 additions & 3 deletions applets/inhibit/inhibit-applet.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -357,7 +355,6 @@ gpm_inhibit_applet_class_init (GpmInhibitAppletClass *class)
/* nothing to do here */
}


/**
* gpm_inhibit_applet_dbus_connect:
**/
Expand Down
2 changes: 0 additions & 2 deletions src/gpm-brightness.c
Original file line number Diff line number Diff line change
Expand Up @@ -773,7 +773,6 @@ gpm_brightness_down (GpmBrightness *brightness, gboolean *hw_changed)
return ret;
}


/**
* gpm_brightness_may_have_changed:
**/
Expand Down Expand Up @@ -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);

/**
Expand Down
1 change: 0 additions & 1 deletion src/gpm-button.c
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,6 @@ gpm_button_is_lid_closed (GpmButton *button)
}
}


/**
* gpm_button_reset_time:
*
Expand Down
1 change: 0 additions & 1 deletion src/gpm-common.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion src/gpm-dpms.c
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,6 @@ gpm_dpms_new (void)
return GPM_DPMS (gpm_dpms_object);
}


/***************************************************************************
*** MAKE CHECK TESTS ***
***************************************************************************/
Expand Down
1 change: 0 additions & 1 deletion src/gpm-manager.c
Original file line number Diff line number Diff line change
Expand Up @@ -520,7 +520,6 @@ gpm_manager_notify (GpmManager *manager, NotifyNotification **notification_class
return ret;
}


/**
* gpm_manager_sleep_failure_response_cb:
**/
Expand Down
1 change: 0 additions & 1 deletion src/gpm-manager.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
1 change: 0 additions & 1 deletion src/gpm-screensaver.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
1 change: 0 additions & 1 deletion src/gpm-statistics.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down
1 change: 0 additions & 1 deletion src/gpm-tray-icon.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down