[gtk/wip/exalm/test: 24/37] tests: Fix testlogout
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/exalm/test: 24/37] tests: Fix testlogout
- Date: Mon, 11 May 2020 15:19:03 +0000 (UTC)
commit 7aeb504652ff69c8f3246ca152ef6c5c373ed20b
Author: Alexander Mikhaylenko <alexm gnome org>
Date: Mon May 11 18:54:53 2020 +0500
tests: Fix testlogout
Stop using GtkApplication::quit signal.
tests/testlogout.c | 10 ----------
1 file changed, 10 deletions(-)
---
diff --git a/tests/testlogout.c b/tests/testlogout.c
index 2d9cd215bd..1ea27335be 100644
--- a/tests/testlogout.c
+++ b/tests/testlogout.c
@@ -132,14 +132,6 @@ activate (GtkApplication *app,
gtk_application_add_window (app, GTK_WINDOW (win));
}
-static void
-quit (GtkApplication *app,
- gpointer data)
-{
- g_print ("Received quit\n");
- gtk_widget_destroy (win);
-}
-
int
main (int argc, char *argv[])
{
@@ -150,8 +142,6 @@ main (int argc, char *argv[])
g_signal_connect (app, "activate",
G_CALLBACK (activate), NULL);
- g_signal_connect (app, "quit",
- G_CALLBACK (quit), NULL);
g_application_run (G_APPLICATION (app), argc, argv);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]