[gtk+/parasite2] GtkApplication: implement the active-window property
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/parasite2] GtkApplication: implement the active-window property
- Date: Fri, 9 May 2014 00:34:04 +0000 (UTC)
commit 7aa4d77cc7e369b506d15c57aeef8df3a723717d
Author: Matthias Clasen <mclasen redhat com>
Date: Thu May 8 20:30:40 2014 -0400
GtkApplication: implement the active-window property
This was apparently just forgotten.
First bug found by GtkInspector.
gtk/gtkapplication.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkapplication.c b/gtk/gtkapplication.c
index c6f4795..a777ec6 100644
--- a/gtk/gtkapplication.c
+++ b/gtk/gtkapplication.c
@@ -722,6 +722,10 @@ gtk_application_get_property (GObject *object,
g_value_set_object (value, gtk_application_get_menubar (application));
break;
+ case PROP_ACTIVE_WINDOW:
+ g_value_set_object (value, gtk_application_get_active_window (application));
+ break;
+
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
break;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]