diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2020-09-08 15:25:57 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2020-09-08 15:25:57 +0200 |
commit | a2f16e793b27769a133acd4a06c6ce86533f06fb (patch) | |
tree | 4c931ae18b832d4c439aba9363ae8576d9b6cf97 /test | |
parent | 5859961e3b61fa2ca7fa17ca34f6f60b3921fcaa (diff) | |
parent | 7922e0d8cf83d6be01af1777b33089732344b672 (diff) | |
download | ayatana-indicator-printers-a2f16e793b27769a133acd4a06c6ce86533f06fb.tar.gz ayatana-indicator-printers-a2f16e793b27769a133acd4a06c6ce86533f06fb.tar.bz2 ayatana-indicator-printers-a2f16e793b27769a133acd4a06c6ce86533f06fb.zip |
Merge branch 'tari01-pr/warnings-deprecations'
Attributes GH PR #7: https://github.com/AyatanaIndicators/ayatana-indicator-printers/pull/7
Diffstat (limited to 'test')
-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); |