[Xfce4-commits] <xfce4-session:aliov/hal-deprecation> Declare the GTypes used for polkit as static.

Ali Abdallah noreply at xfce.org
Wed Feb 3 11:12:01 CET 2010


Updating branch refs/heads/aliov/hal-deprecation
         to 6cf1dbe497a54589353fb3c1160099dd51bfa7c1 (commit)
       from ab13eefeb59af7abfdb52230b9a54061979f4579 (commit)

commit 6cf1dbe497a54589353fb3c1160099dd51bfa7c1
Author: Ali Abdallah <aliov at xfce.org>
Date:   Wed Feb 3 11:08:31 2010 +0100

    Declare the GTypes used for polkit as static.

 xfce4-session/xfsm-shutdown-helper.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/xfce4-session/xfsm-shutdown-helper.c b/xfce4-session/xfsm-shutdown-helper.c
index 34aeba0..81bf46a 100644
--- a/xfce4-session/xfsm-shutdown-helper.c
+++ b/xfce4-session/xfsm-shutdown-helper.c
@@ -109,9 +109,9 @@ typedef enum
 
 #ifdef ENABLE_POLKIT
 /*DBus GTypes for polkit calls*/
-GType      polkit_subject_gtype   = G_TYPE_INVALID;
-GType      polkit_details_gtype   = G_TYPE_INVALID;
-GType      polkit_result_gtype    = G_TYPE_INVALID;
+static GType      polkit_subject_gtype   = G_TYPE_INVALID;
+static GType      polkit_details_gtype   = G_TYPE_INVALID;
+static GType      polkit_result_gtype    = G_TYPE_INVALID;
 #endif /*ENABLE_POLKIT*/
 
 struct _XfsmShutdownHelper



More information about the Xfce4-commits mailing list