[nautilus/wip/antoniof/a-few-header-cleanups: 4/4] toolbar: Remove unused functions
- From: António Fernandes <antoniof src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus/wip/antoniof/a-few-header-cleanups: 4/4] toolbar: Remove unused functions
- Date: Mon, 11 Jul 2022 00:19:14 +0000 (UTC)
commit 9a653733ca053cabfa5bdae6f5adedd058e5b93f
Author: António Fernandes <antoniof gnome org>
Date: Mon Jul 11 01:18:18 2022 +0100
toolbar: Remove unused functions
src/nautilus-toolbar.c | 6 ------
src/nautilus-toolbar.h | 5 -----
2 files changed, 11 deletions(-)
---
diff --git a/src/nautilus-toolbar.c b/src/nautilus-toolbar.c
index bc91c2ecb..34693f5b5 100644
--- a/src/nautilus-toolbar.c
+++ b/src/nautilus-toolbar.c
@@ -1430,9 +1430,3 @@ nautilus_toolbar_is_menu_visible (NautilusToolbar *self)
return gtk_widget_is_visible (menu);
}
-
-gboolean
-nautilus_toolbar_is_operations_button_active (NautilusToolbar *self)
-{
- return gtk_widget_is_visible (GTK_WIDGET (self->operations_popover));
-}
diff --git a/src/nautilus-toolbar.h b/src/nautilus-toolbar.h
index e67aeedba..c471ae8aa 100644
--- a/src/nautilus-toolbar.h
+++ b/src/nautilus-toolbar.h
@@ -42,13 +42,8 @@ GtkWidget *nautilus_toolbar_get_location_entry (NautilusToolbar *self);
void nautilus_toolbar_set_show_location_entry (NautilusToolbar *self,
gboolean show_location_entry);
-void nautilus_toolbar_set_active_slot (NautilusToolbar *toolbar,
- NautilusWindowSlot *slot);
-
gboolean nautilus_toolbar_is_menu_visible (NautilusToolbar *toolbar);
-gboolean nautilus_toolbar_is_operations_button_active (NautilusToolbar *toolbar);
-
void nautilus_toolbar_on_window_constructed (NautilusToolbar *toolbar);
void nautilus_toolbar_set_window_slot (NautilusToolbar *self,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]