diff options
author | Mathieu Trudel-Lapierre <mathieu-tl@ubuntu.com> | 2013-01-16 14:53:52 -0500 |
---|---|---|
committer | Mathieu Trudel-Lapierre <mathieu-tl@ubuntu.com> | 2013-01-16 14:53:52 -0500 |
commit | 6a86412258be37bb971c41b8f0ebd0a19a1463d2 (patch) | |
tree | c64be8b0ee48370f86310241f725a21fcae63c8a /tests | |
parent | 8958959e98d58d04b4c82c0d79eb5c24a60d1c19 (diff) | |
download | libayatana-appindicator-6a86412258be37bb971c41b8f0ebd0a19a1463d2.tar.gz libayatana-appindicator-6a86412258be37bb971c41b8f0ebd0a19a1463d2.tar.bz2 libayatana-appindicator-6a86412258be37bb971c41b8f0ebd0a19a1463d2.zip |
Remove deprecated calls to g_type_init()
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test-libappindicator-dbus-client.c | 2 | ||||
-rw-r--r-- | tests/test-libappindicator-fallback-watcher.c | 2 | ||||
-rw-r--r-- | tests/test-libappindicator-status-client.c | 2 | ||||
-rw-r--r-- | tests/test-simple-app.c | 2 |
4 files changed, 0 insertions, 8 deletions
diff --git a/tests/test-libappindicator-dbus-client.c b/tests/test-libappindicator-dbus-client.c index 9a51792..18c6946 100644 --- a/tests/test-libappindicator-dbus-client.c +++ b/tests/test-libappindicator-dbus-client.c @@ -204,8 +204,6 @@ dbus_filter (DBusConnection * connection, DBusMessage * message, void * user_dat gint main (gint argc, gchar * argv[]) { - g_type_init(); - GError * error = NULL; DBusGConnection * session_bus = dbus_g_bus_get(DBUS_BUS_SESSION, &error); if (error != NULL) { diff --git a/tests/test-libappindicator-fallback-watcher.c b/tests/test-libappindicator-fallback-watcher.c index f337150..2648902 100644 --- a/tests/test-libappindicator-fallback-watcher.c +++ b/tests/test-libappindicator-fallback-watcher.c @@ -58,8 +58,6 @@ kill_func (gpointer userdata) int main (int argv, char ** argc) { - g_type_init(); - g_debug("Waiting to init."); diff --git a/tests/test-libappindicator-status-client.c b/tests/test-libappindicator-status-client.c index 811882b..50e9c08 100644 --- a/tests/test-libappindicator-status-client.c +++ b/tests/test-libappindicator-status-client.c @@ -109,8 +109,6 @@ kill_func (gpointer userdata) gint main (gint argc, gchar * argv[]) { - g_type_init(); - GError * error = NULL; DBusGConnection * session_bus = dbus_g_bus_get(DBUS_BUS_SESSION, &error); if (error != NULL) { diff --git a/tests/test-simple-app.c b/tests/test-simple-app.c index d60d9b9..843466d 100644 --- a/tests/test-simple-app.c +++ b/tests/test-simple-app.c @@ -31,8 +31,6 @@ static GMainLoop * mainloop = NULL; int main (int argc, char ** argv) { - g_type_init(); - DbusmenuServer * dms = dbusmenu_server_new("/menu"); DbusmenuMenuitem * dmi = dbusmenu_menuitem_new(); dbusmenu_menuitem_property_set(dmi, "label", "Bob"); |