[gupnp-tools] network-light: Prevent critical on shutdown
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gupnp-tools] network-light: Prevent critical on shutdown
- Date: Sun, 12 Jul 2015 17:28:13 +0000 (UTC)
commit 80ed1352e15b41c4571e4af75d7562ee7cb9bf54
Author: Jens Georg <mail jensge org>
Date: Sun Jul 12 19:22:34 2015 +0200
network-light: Prevent critical on shutdown
Signed-off-by: Jens Georg <mail jensge org>
src/network-light/gui.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/network-light/gui.c b/src/network-light/gui.c
index 7c1e68b..74c3ee3 100644
--- a/src/network-light/gui.c
+++ b/src/network-light/gui.c
@@ -246,6 +246,8 @@ init_ui (gint *argc,
g_object_unref (icon_pixbuf);
gtk_builder_connect_signals (builder, NULL);
+ g_signal_connect (G_OBJECT (about_dialog), "delete-event",
+ G_CALLBACK (gtk_widget_hide_on_delete), NULL);
update_image ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]