summaryrefslogtreecommitdiff
path: root/applets/inhibit/inhibit-applet.c
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/inhibit/inhibit-applet.c
parent09314551f4d36a6f92c44546929ffb499d4bff87 (diff)
downloadmate-power-manager-954614b126507aa3ed1b4c011bb069d757b3bb3b.tar.bz2
mate-power-manager-954614b126507aa3ed1b4c011bb069d757b3bb3b.tar.xz
Fix -Wmissing-prototypes warnings (#381)
Diffstat (limited to 'applets/inhibit/inhibit-applet.c')
-rw-r--r--applets/inhibit/inhibit-applet.c6
1 files changed, 3 insertions, 3 deletions
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)