diff options
author | Charles Kerr <charles.kerr@canonical.com> | 2013-06-25 13:53:25 -0500 |
---|---|---|
committer | Charles Kerr <charles.kerr@canonical.com> | 2013-06-25 13:53:25 -0500 |
commit | 660d7bcbbddf3ea10146b47d3bf5c64899b8b2e0 (patch) | |
tree | b5cfd6939f54cda74c6065de77eb3b52c7c67c3e /tests/backend-dbus/mock-end-session-dialog.cc | |
parent | 3cabab005963648247d8af74645c8e245efe13e8 (diff) | |
download | ayatana-indicator-session-660d7bcbbddf3ea10146b47d3bf5c64899b8b2e0.tar.gz ayatana-indicator-session-660d7bcbbddf3ea10146b47d3bf5c64899b8b2e0.tar.bz2 ayatana-indicator-session-660d7bcbbddf3ea10146b47d3bf5c64899b8b2e0.zip |
copyediting: remove g_messages() added while fixing the tests, remove dead code
Diffstat (limited to 'tests/backend-dbus/mock-end-session-dialog.cc')
-rw-r--r-- | tests/backend-dbus/mock-end-session-dialog.cc | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/tests/backend-dbus/mock-end-session-dialog.cc b/tests/backend-dbus/mock-end-session-dialog.cc index 903962b..2772423 100644 --- a/tests/backend-dbus/mock-end-session-dialog.cc +++ b/tests/backend-dbus/mock-end-session-dialog.cc @@ -19,28 +19,6 @@ #include "mock-end-session-dialog.h" -#if 0 -gboolean -MockEndSessionDialog :: handle_lock (GnomeScreenSaver * ss, - GDBusMethodInvocation * inv, - gpointer gself) -{ - static_cast<MockEndSessionDialog*>(gself)->my_last_action = Lock; - gnome_screen_saver_complete_lock (ss, inv); - return true; -} - -gboolean -MockEndSessionDialog :: handle_simulate_user_activity (GnomeScreenSaver * ss, - GDBusMethodInvocation * inv, - gpointer gself) -{ - static_cast<MockEndSessionDialog*>(gself)->my_last_action = UserActivity; - gnome_screen_saver_complete_simulate_user_activity (ss, inv); - return true; -} -#endif - gboolean MockEndSessionDialog :: handle_open (EndSessionDialog * object, GDBusMethodInvocation * invocation, @@ -73,12 +51,6 @@ MockEndSessionDialog :: MockEndSessionDialog (GMainLoop * loop, { g_signal_connect (my_skeleton, "handle-open", G_CALLBACK(handle_open), this); -#if 0 - g_signal_connect (my_skeleton, "handle-lock", - G_CALLBACK(handle_lock), this); - g_signal_connect (my_skeleton, "handle-simulate-user-activity", - G_CALLBACK(handle_simulate_user_activity), this); -#endif set_skeleton (G_DBUS_INTERFACE_SKELETON(my_skeleton)); } |