summaryrefslogtreecommitdiff
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
parent09314551f4d36a6f92c44546929ffb499d4bff87 (diff)
downloadmate-power-manager-954614b126507aa3ed1b4c011bb069d757b3bb3b.tar.bz2
mate-power-manager-954614b126507aa3ed1b4c011bb069d757b3bb3b.tar.xz
Fix -Wmissing-prototypes warnings (#381)
-rw-r--r--applets/brightness/brightness-applet.c6
-rw-r--r--applets/inhibit/inhibit-applet.c6
2 files changed, 6 insertions, 6 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)
diff --git a/applets/inhibit/inhibit-applet.c b/applets/inhibit/inhibit-applet.c
index 37382c4..ab64597 100644
--- a/applets/inhibit/inhibit-applet.c
+++ b/applets/inhibit/inhibit-applet.c
@@ -358,7 +358,7 @@ gpm_inhibit_applet_class_init (GpmInhibitAppletClass *class)
/**
* gpm_inhibit_applet_dbus_connect:
**/
-gboolean
+static gboolean
gpm_inhibit_applet_dbus_connect (GpmInhibitApplet *applet)
{
GError *error = NULL;
@@ -395,7 +395,7 @@ gpm_inhibit_applet_dbus_connect (GpmInhibitApplet *applet)
/**
* gpm_inhibit_applet_dbus_disconnect:
**/
-gboolean
+static gboolean
gpm_inhibit_applet_dbus_disconnect (GpmInhibitApplet *applet)
{
if (applet->proxy != NULL) {
@@ -425,7 +425,7 @@ gpm_inhibit_applet_name_appeared_cb (GDBusConnection *connection,
/**
* gpm_inhibit_applet_name_vanished_cb:
**/
-void
+static void
gpm_inhibit_applet_name_vanished_cb (GDBusConnection *connection,
const gchar *name,
GpmInhibitApplet *applet)