[nautilus/wip/cdavis/toolbar-refactor: 36/41] 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: 36/41] toolbar: Add window slot to `get_property()`
- Date: Sat, 23 Jul 2022 04:39:40 +0000 (UTC)
commit 04540b96858e5636ca7485e32ec31713d13c8385
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 b893e3909..d80850a42 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]