gegl r2166 - in trunk: . bin tools
- From: ok svn gnome org
- To: svn-commits-list gnome org
- Subject: gegl r2166 - in trunk: . bin tools
- Date: Mon, 14 Apr 2008 22:05:14 +0100 (BST)
Author: ok
Date: Mon Apr 14 22:05:13 2008
New Revision: 2166
URL: http://svn.gnome.org/viewvc/gegl?rev=2166&view=rev
Log:
* bin/editor-optype.c: #include "editor-optype.h"
* bin/editor.c: (play): remove cruft.
* bin/gegl-store.h: add some protoypes for the DOM bridge
used to implement the model.
* tools/introspect.c: (escape): silenced warning.
Modified:
trunk/ChangeLog
trunk/bin/editor-optype.c
trunk/bin/editor.c
trunk/bin/gegl-store.h
trunk/tools/introspect.c
Modified: trunk/bin/editor-optype.c
==============================================================================
--- trunk/bin/editor-optype.c (original)
+++ trunk/bin/editor-optype.c Mon Apr 14 22:05:13 2008
@@ -28,6 +28,7 @@
#include "gegl-plugin.h" /* FIXME: should just be gegl.h */
#include "editor.h"
+#include "editor-optype.h"
#include "gegl-tree-editor.h"
#include "gegl-node-editor.h"
#include "gegl-tree-editor-action.h"
@@ -416,6 +417,8 @@
gtk_menu_popup (menu, NULL, NULL, gtk_option_menu_position, button, 0, 0);
}
+
+
GtkWidget *
gegl_typeeditor_optype (GtkSizeGroup *col1,
GtkSizeGroup *col2,
Modified: trunk/bin/editor.c
==============================================================================
--- trunk/bin/editor.c (original)
+++ trunk/bin/editor.c Mon Apr 14 22:05:13 2008
@@ -200,14 +200,14 @@
GeglNode *source = input_stream (editor->gegl);
gint frame;
gegl_node_get (source, "frame", &frame, NULL);
- g_warning ("(%f) frame: %i->%i", progress, frame, frame +1);
+ /*g_warning ("(%f) frame: %i->%i", progress, frame, frame +1);*/
frame++;
gegl_node_set (source, "frame", frame, NULL);
gegl_gui_flush ();
}
else
{
- g_warning ("(%f)", progress);
+ /*g_warning ("(%f)", progress);*/
}
return TRUE;
Modified: trunk/bin/gegl-store.h
==============================================================================
--- trunk/bin/gegl-store.h (original)
+++ trunk/bin/gegl-store.h Mon Apr 14 22:05:13 2008
@@ -70,4 +70,15 @@
void gegl_store_thaw (GeglStore *gegl_store);
void gegl_store_process (GeglStore *gegl_store);
+
+/* The API that the store actually is implemented for is reimplemented using
+ * the following calls, which may be usedful for DOM like manipulation of GEGL
+ * graphs.
+ */
+
+GeglNode * gegl_children (GeglNode *item);
+GeglNode * gegl_next_sibling (GeglNode *item);
+GeglNode * gegl_previous_sibling (GeglNode *item);
+GeglNode * gegl_parent (GeglNode *item);
+
#endif /* _gegl_store_h_included_ */
Modified: trunk/tools/introspect.c
==============================================================================
--- trunk/tools/introspect.c (original)
+++ trunk/tools/introspect.c Mon Apr 14 22:05:13 2008
@@ -48,7 +48,7 @@
" }"
" /*-->*/</script>";
-gchar *escape (const gchar *string)
+static gchar *escape (const gchar *string)
{
gchar buf[4095]="";
const gchar *p=string;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]