[nautilus/wip/cdavis/toolbar-refactor: 2/7] toolbar: Add window slot to `get_property()`
- From: Christopher Davis <christopherdavis src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus/wip/cdavis/toolbar-refactor: 2/7] toolbar: Add window slot to `get_property()`
- Date: Sat, 23 Jul 2022 04:03:39 +0000 (UTC)
commit a8302138bfef72bd213652cf6c7027a4aca2bfc3
Author: Christopher Davis <christopherdavis gnome org>
Date: Mon Jul 18 17:47:01 2022 -0400
toolbar: Add window slot to `get_property()`
We had the property set as readable, but didn't implement
`get_property()` for it.
src/nautilus-toolbar.c | 6 ++++++
1 file changed, 6 insertions(+)
---
diff --git a/src/nautilus-toolbar.c b/src/nautilus-toolbar.c
index 553341f01..63989ce4b 100644
--- a/src/nautilus-toolbar.c
+++ b/src/nautilus-toolbar.c
@@ -928,6 +928,12 @@ nautilus_toolbar_get_property (GObject *object,
}
break;
+ case PROP_WINDOW_SLOT:
+ {
+ g_value_set_object (value, self->window_slot);
+ }
+ break;
+
case PROP_SEARCHING:
{
g_value_set_boolean (value, gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON
(self->search_button)));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]