Commit a9fde3ef authored by Martin Nordholts's avatar Martin Nordholts Committed by Martin Nordholts

Removed dependency to editor.h. No need to directly call gegl_gui_flush()

2008-02-16  Martin Nordholts  <martinn@svn.gnome.org>

	* bin/gegl-node-editor.c: Removed dependency to editor.h. No need
	to directly call gegl_gui_flush() when changing operation
	properties for a node since the view will indirectly get updated
	anyway through the GeglNode::invalidated signal.

svn path=/trunk/; revision=2026
parent c10a3535
2008-02-16 Martin Nordholts <martinn@svn.gnome.org>
* bin/gegl-node-editor.c: Removed dependency to editor.h. No need
to directly call gegl_gui_flush() when changing operation
properties for a node since the view will indirectly get updated
anyway through the GeglNode::invalidated signal.
2008-02-16 Martin Nordholts <martinn@svn.gnome.org>
* bin/gegl-node-editor.c: Remove dependency to gegl-view.h.
......
......@@ -27,7 +27,6 @@
#include "gegl-node-editor.h"
#include "gegl-paramspecs.h"
#include "editor.h"
GtkWidget *
typeeditor_optype (GtkSizeGroup *col1,
......@@ -205,7 +204,6 @@ type_editor_generic_changed (GtkWidget *entry,
gegl_node_set (node, prop_name, color, NULL);
g_object_unref (color);
}
gegl_gui_flush ();
}
......@@ -233,7 +231,6 @@ type_editor_color_changed (GtkColorButton *button,
gegl_node_set (node, prop_name, color, NULL);
g_object_unref (color);
}
gegl_gui_flush ();
}
static GtkWidget *
......@@ -472,7 +469,6 @@ multiline_changed (GtkTextBuffer *buffer, gpointer user_data)
gegl_node_set (node, param_spec->name, contents, NULL);
gegl_gui_flush ();
g_free (contents);
return TRUE;
}
......@@ -652,7 +648,6 @@ scalar_drag_n_motion (GtkWidget *widget, GdkEventMotion *mev, gpointer user_data
gtk_widget_queue_draw (widget);
gdk_window_get_pointer (widget->window, NULL, NULL, NULL);
gegl_gui_flush ();
return TRUE;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment