diff options
Diffstat (limited to 'test/mock-cups-notifier.c')
-rw-r--r-- | test/mock-cups-notifier.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/test/mock-cups-notifier.c b/test/mock-cups-notifier.c index 10d5fe5..7903f91 100644 --- a/test/mock-cups-notifier.c +++ b/test/mock-cups-notifier.c @@ -6,12 +6,10 @@ int main (int argc, char **argv) { GMainLoop *loop; - CupsNotifier *notifier; + CupsNotifier *notifier = NULL; GDBusConnection *con; GError *error = NULL; - g_type_init (); - loop = g_main_loop_new (NULL, FALSE); con = g_bus_get_sync (G_BUS_TYPE_SYSTEM, NULL, &error); |