[nautilus/wip/cdavis/toolbar-refactor: 69/72] toolbar: Add window slot to `get_property()`
- From: António Fernandes <antoniof src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus/wip/cdavis/toolbar-refactor: 69/72] toolbar: Add window slot to `get_property()`
- Date: Sat, 30 Jul 2022 22:38:31 +0000 (UTC)
commit b2f93acfc8364ba4eb7a84ea67d97f277fcbf380
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 04efd9df7..1d6e4608a 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]