[gnome-photos] main-toolbar: Remove unecessary function call
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-photos] main-toolbar: Remove unecessary function call
- Date: Wed, 10 May 2017 12:15:51 +0000 (UTC)
commit b00efba70b1447e929250cb3919931bda2ba6ef4
Author: Alessandro Bono <abono gnome org>
Date: Thu Feb 16 23:11:27 2017 +0100
main-toolbar: Remove unecessary function call
https://bugzilla.gnome.org/show_bug.cgi?id=780424
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 b22cf86..1c67a45 100644
--- a/src/photos-main-toolbar.c
+++ b/src/photos-main-toolbar.c
@@ -404,13 +404,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)
{
@@ -682,7 +675,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]