[gnome-photos/wip/rishi/edit-mode: 16/27] 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: 16/27] gegl-gtk-view: Remove gegl_gtk_view_new_for_buffer
- Date: Sat, 7 Nov 2015 19:47:15 +0000 (UTC)
commit 3594336723c8930b590b252d9c384da946a65c42
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 0b1dcdc..41c08ff 100644
--- a/src/gegl-gtk-view.c
+++ b/src/gegl-gtk-view.c
@@ -455,14 +455,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 cf2fac7..957f10f 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]