diff options
author | Charles Kerr <charles.kerr@canonical.com> | 2013-06-28 21:15:15 -0500 |
---|---|---|
committer | Charles Kerr <charles.kerr@canonical.com> | 2013-06-28 21:15:15 -0500 |
commit | 3222a77d7159826d89743685d35710597f269e00 (patch) | |
tree | 6a40a3aa0d436891aad2e6d7d2769389edb0f1dc /tests/backend-mock-guest.c | |
parent | f85ba52944c1924271ce4734a31dacb4a8e51e71 (diff) | |
download | ayatana-indicator-session-3222a77d7159826d89743685d35710597f269e00.tar.gz ayatana-indicator-session-3222a77d7159826d89743685d35710597f269e00.tar.bz2 ayatana-indicator-session-3222a77d7159826d89743685d35710597f269e00.zip |
fix test breakage introduced with the recent commit that hides the reboot menuitem when running in unity shell
Diffstat (limited to 'tests/backend-mock-guest.c')
-rw-r--r-- | tests/backend-mock-guest.c | 34 |
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 ***/ |