summaryrefslogtreecommitdiff
path: root/applets/brightness
diff options
context:
space:
mode:
authorRobert Antoni Buj Gelonch <[email protected]>2022-08-23 18:47:04 +0200
committerGitHub <[email protected]>2022-08-23 12:47:04 -0400
commit954614b126507aa3ed1b4c011bb069d757b3bb3b (patch)
treee27bb7898590fbe5f0a54dbd26d82afb2c67a215 /applets/brightness
parent09314551f4d36a6f92c44546929ffb499d4bff87 (diff)
downloadmate-power-manager-954614b126507aa3ed1b4c011bb069d757b3bb3b.tar.bz2
mate-power-manager-954614b126507aa3ed1b4c011bb069d757b3bb3b.tar.xz
Fix -Wmissing-prototypes warnings (#381)
Diffstat (limited to 'applets/brightness')
-rw-r--r--applets/brightness/brightness-applet.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/applets/brightness/brightness-applet.c b/applets/brightness/brightness-applet.c
index bafeeaa..125d45b 100644
--- a/applets/brightness/brightness-applet.c
+++ b/applets/brightness/brightness-applet.c
@@ -906,7 +906,7 @@ brightness_changed_cb (DBusGProxy *proxy,
/**
* gpm_brightness_applet_dbus_connect:
**/
-gboolean
+static gboolean
gpm_brightness_applet_dbus_connect (GpmBrightnessApplet *applet)
{
GError *error = NULL;
@@ -950,7 +950,7 @@ gpm_brightness_applet_dbus_connect (GpmBrightnessApplet *applet)
/**
* gpm_brightness_applet_dbus_disconnect:
**/
-gboolean
+static gboolean
gpm_brightness_applet_dbus_disconnect (GpmBrightnessApplet *applet)
{
if (applet->proxy != NULL) {
@@ -978,7 +978,7 @@ gpm_brightness_applet_name_appeared_cb (GDBusConnection *connection,
/**
* gpm_brightness_applet_name_vanished_cb:
**/
-void
+static void
gpm_brightness_applet_name_vanished_cb (GDBusConnection *connection,
const gchar *name,
GpmBrightnessApplet *applet)