aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/indicator-messages-service-activate.c2
-rw-r--r--test/test-gactionmuxer.cpp8
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));