[gimp/gtk3-port: 64/234] app: remove GimpContainerGridView from the build entirely
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/gtk3-port: 64/234] app: remove GimpContainerGridView from the build entirely
- Date: Tue, 9 May 2017 22:22:23 +0000 (UTC)
commit dff867b53fac0f0f805eef9258e9d9ee50c90853
Author: Michael Natterer <mitch gimp org>
Date: Thu Oct 21 12:04:03 2010 +0200
app: remove GimpContainerGridView from the build entirely
but leave it in the tree as reference for the time being.
app/widgets/Makefile.am | 2 --
app/widgets/gimpcontainereditor.c | 9 ---------
2 files changed, 0 insertions(+), 11 deletions(-)
---
diff --git a/app/widgets/Makefile.am b/app/widgets/Makefile.am
index f96da4f..a5abd3d 100644
--- a/app/widgets/Makefile.am
+++ b/app/widgets/Makefile.am
@@ -85,8 +85,6 @@ libappwidgets_a_sources = \
gimpcontainereditor.h \
gimpcontainerentry.c \
gimpcontainerentry.h \
- gimpcontainergridview.c \
- gimpcontainergridview.h \
gimpcontainericonview.c \
gimpcontainericonview.h \
gimpcontainerpopup.c \
diff --git a/app/widgets/gimpcontainereditor.c b/app/widgets/gimpcontainereditor.c
index adc991f..e92a9b3 100644
--- a/app/widgets/gimpcontainereditor.c
+++ b/app/widgets/gimpcontainereditor.c
@@ -32,7 +32,6 @@
#include "core/gimpviewable.h"
#include "gimpcontainereditor.h"
-#include "gimpcontainergridview.h"
#include "gimpcontainericonview.h"
#include "gimpcontainertreeview.h"
#include "gimpcontainerview.h"
@@ -232,19 +231,11 @@ gimp_container_editor_constructed (GObject *object)
switch (editor->priv->view_type)
{
case GIMP_VIEW_TYPE_GRID:
-#if 1
editor->view =
GIMP_CONTAINER_VIEW (gimp_container_icon_view_new (editor->priv->container,
editor->priv->context,
editor->priv->view_size,
editor->priv->view_border_width));
-#else
- editor->view =
- GIMP_CONTAINER_VIEW (gimp_container_grid_view_new (editor->priv->container,
- editor->priv->context,
- editor->priv->view_size,
- editor->priv->view_border_width));
-#endif
break;
case GIMP_VIEW_TYPE_LIST:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]