diff options
author | Charles Kerr <charles.kerr@canonical.com> | 2013-01-22 14:23:57 -0600 |
---|---|---|
committer | Charles Kerr <charles.kerr@canonical.com> | 2013-01-22 14:23:57 -0600 |
commit | 156418b432ed3d7f07fd0faae67ce5054defe94a (patch) | |
tree | 4d83da7ef1a370e8ca8f7c637907a4600323c9de /test | |
parent | 6bb7a699e9505e370a4b5481824feb736a0af6c9 (diff) | |
download | ayatana-indicator-messages-156418b432ed3d7f07fd0faae67ce5054defe94a.tar.gz ayatana-indicator-messages-156418b432ed3d7f07fd0faae67ce5054defe94a.tar.bz2 ayatana-indicator-messages-156418b432ed3d7f07fd0faae67ce5054defe94a.zip |
remove g_type_init() calls, bump glib requirement to 2.35.4
Diffstat (limited to 'test')
-rw-r--r-- | test/indicator-messages-service-activate.c | 2 | ||||
-rw-r--r-- | test/test-gactionmuxer.cpp | 8 |
2 files changed, 0 insertions, 10 deletions
diff --git a/test/indicator-messages-service-activate.c b/test/indicator-messages-service-activate.c index 98c6522..b0ec9b7 100644 --- a/test/indicator-messages-service-activate.c +++ b/test/indicator-messages-service-activate.c @@ -28,8 +28,6 @@ with this program. If not, see <http://www.gnu.org/licenses/>. int main (int argc, char ** argv) { - g_type_init(); - guint returnval = 0; GError * error = NULL; diff --git a/test/test-gactionmuxer.cpp b/test/test-gactionmuxer.cpp index 6304853..b80f86d 100644 --- a/test/test-gactionmuxer.cpp +++ b/test/test-gactionmuxer.cpp @@ -25,8 +25,6 @@ strv_contains (gchar **str_array, TEST(GActionMuxerTest, Sanity) { GActionMuxer *muxer; - g_type_init (); - g_action_muxer_insert (NULL, NULL, NULL); g_action_muxer_remove (NULL, NULL); @@ -46,8 +44,6 @@ TEST(GActionMuxerTest, Empty) { GActionMuxer *muxer; gchar **actions; - g_type_init (); - muxer = g_action_muxer_new (); actions = g_action_group_list_actions (G_ACTION_GROUP (muxer)); @@ -67,8 +63,6 @@ TEST(GActionMuxerTest, AddAndRemove) { GActionMuxer *muxer; gchar **actions; - g_type_init (); - group1 = g_simple_action_group_new (); g_simple_action_group_add_entries (group1, entries1, @@ -160,8 +154,6 @@ TEST(GActionMuxerTest, ActionAttributes) { GVariant *state_hint[2]; GVariant *state[2]; - g_type_init (); - group = g_simple_action_group_new (); action = g_simple_action_new ("one", G_VARIANT_TYPE_STRING); g_simple_action_group_insert (group, G_ACTION (action)); |