aboutsummaryrefslogtreecommitdiff
path: root/tests/backend-mock-guest.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/backend-mock-guest.c')
-rw-r--r--tests/backend-mock-guest.c34
1 files changed, 19 insertions, 15 deletions
diff --git a/tests/backend-mock-guest.c b/tests/backend-mock-guest.c
index b04c805..8bc188f 100644
--- a/tests/backend-mock-guest.c
+++ b/tests/backend-mock-guest.c
@@ -34,21 +34,9 @@ G_DEFINE_TYPE (IndicatorSessionGuestMock,
indicator_session_guest_mock,
INDICATOR_TYPE_SESSION_GUEST)
-/***
-**** Virtual Functions
-***/
-
-static void
-my_dispose (GObject * o)
-{
- G_OBJECT_CLASS (indicator_session_guest_mock_parent_class)->dispose (o);
-}
-
-static void
-my_finalize (GObject * o)
-{
- G_OBJECT_CLASS (indicator_session_guest_mock_parent_class)->finalize (o);
-}
+/**
+*** IndicatorSessionGuest virtual functions
+**/
static gboolean
my_is_allowed (IndicatorSessionGuest * self)
@@ -77,6 +65,22 @@ my_switch_to_guest (IndicatorSessionGuest * self G_GNUC_UNUSED)
}
/***
+**** GObject virtual Functions
+***/
+
+static void
+my_dispose (GObject * o)
+{
+ G_OBJECT_CLASS (indicator_session_guest_mock_parent_class)->dispose (o);
+}
+
+static void
+my_finalize (GObject * o)
+{
+ G_OBJECT_CLASS (indicator_session_guest_mock_parent_class)->finalize (o);
+}
+
+/***
**** GObject Boilerplate
***/