[gnome-photos/wip/abono/gui-refactoring: 3/8] main-toolbar: Remove unecessary function call
- From: Alessandro Bono <abono src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-photos/wip/abono/gui-refactoring: 3/8] main-toolbar: Remove unecessary function call
- Date: Fri, 17 Feb 2017 01:13:24 +0000 (UTC)
commit 653e3f2e6f9fa9b449dd9ce2b21fbd8c9cbe238a
Author: Alessandro Bono <abono gnome org>
Date: Thu Feb 16 23:11:27 2017 +0100
main-toolbar: Remove unecessary function call
src/photos-main-toolbar.c | 9 +--------
1 files changed, 1 insertions(+), 8 deletions(-)
---
diff --git a/src/photos-main-toolbar.c b/src/photos-main-toolbar.c
index 08866f7..a43584a 100644
--- a/src/photos-main-toolbar.c
+++ b/src/photos-main-toolbar.c
@@ -409,13 +409,6 @@ photos_main_toolbar_clear_toolbar (PhotosMainToolbar *self)
}
-static GtkWidget *
-photos_main_toolbar_create_overview_searchbar (PhotosMainToolbar *self)
-{
- return photos_overview_searchbar_new ();
-}
-
-
static GMenu *
photos_main_toolbar_create_preview_menu (PhotosMainToolbar *self)
{
@@ -687,7 +680,7 @@ photos_main_toolbar_constructed (GObject *object)
G_OBJECT_CLASS (photos_main_toolbar_parent_class)->constructed (object);
- self->searchbar = photos_main_toolbar_create_overview_searchbar (self);
+ self->searchbar = photos_overview_searchbar_new ();
g_object_ref (self->searchbar);
photos_main_toolbar_reset_toolbar_mode (self);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]