summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Davis <christopherdavis@gnome.org>2022-07-18 17:47:01 -0400
committerAntónio Fernandes <antoniof@gnome.org>2022-07-30 23:46:54 +0100
commit65e55ef18ca763c584cd61985d04841a357e5bde (patch)
tree2cf7239c9c84bd5a2fbdb399893c64966674f8d7
parentd10d61c0d3fa3aeff142e8229e7bbc3f507aaaa3 (diff)
downloadnautilus-65e55ef18ca763c584cd61985d04841a357e5bde.tar.gz
toolbar: Add window slot to `get_property()`
We had the property set as readable, but didn't implement `get_property()` for it.
-rw-r--r--src/nautilus-toolbar.c6
1 files changed, 6 insertions, 0 deletions
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)));