[gnome-photos/wip/rishi/edit-mode: 22/28] gegl-gtk-view: Remove gegl_gtk_view_new_for_buffer
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-photos/wip/rishi/edit-mode: 22/28] gegl-gtk-view: Remove gegl_gtk_view_new_for_buffer
- Date: Wed, 3 Jun 2015 23:41:15 +0000 (UTC)
commit d65b48169a05a552491ce06eaa19b169c97442e5
Author: Debarshi Ray <debarshir gnome org>
Date: Fri May 29 08:17:08 2015 +0200
gegl-gtk-view: Remove gegl_gtk_view_new_for_buffer
We don't use it. Removing it let's us get rid of a deprecation warning
caused by gegl_node.
src/gegl-gtk-view.c | 8 --------
src/gegl-gtk-view.h | 1 -
2 files changed, 0 insertions(+), 9 deletions(-)
---
diff --git a/src/gegl-gtk-view.c b/src/gegl-gtk-view.c
index 7124041..a0538a0 100644
--- a/src/gegl-gtk-view.c
+++ b/src/gegl-gtk-view.c
@@ -460,14 +460,6 @@ gegl_gtk_view_new(void)
return GEGL_GTK_VIEW(g_object_new(GEGL_GTK_TYPE_VIEW, NULL));
}
-GeglGtkView *
-gegl_gtk_view_new_for_buffer(GeglBuffer *buffer)
-{
- GeglNode *node = gegl_node("gegl:buffer-source",
- "buffer", buffer, NULL);
- return gegl_gtk_view_new_for_node(node);
-}
-
/**
* gegl_gtk_view_new_for_node:
* @node: The #GeglNode to display
diff --git a/src/gegl-gtk-view.h b/src/gegl-gtk-view.h
index d6611c7..4642f6d 100644
--- a/src/gegl-gtk-view.h
+++ b/src/gegl-gtk-view.h
@@ -55,7 +55,6 @@ GType gegl_gtk_view_get_type(void) G_GNUC_CONST;
GeglGtkView *gegl_gtk_view_new(void);
GeglGtkView *gegl_gtk_view_new_for_node(GeglNode *node);
-GeglGtkView *gegl_gtk_view_new_for_buffer(GeglBuffer *buffer);
void gegl_gtk_view_set_node(GeglGtkView *self, GeglNode *node);
GeglNode *gegl_gtk_view_get_node(GeglGtkView *self);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]