Commit 49a46c76 authored by Michael Natterer's avatar Michael Natterer 😴 Committed by Michael Natterer

removed unused local variables.

2004-07-05  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimptemplateview.c
	(gimp_template_view_tree_name_edited): removed unused local variables.
parent e3d54897
2004-07-05 Michael Natterer <mitch@gimp.org>
* app/widgets/gimptemplateview.c
(gimp_template_view_tree_name_edited): removed unused local variables.
2004-07-05 Sven Neumann <sven@gimp.org>
* plug-ins/gfig/gfig-dialog.c: don't g_free() a GdkPixbuf, it's an
......
......@@ -218,24 +218,18 @@ gimp_template_view_tree_name_edited (GtkCellRendererText *cell,
GimpTemplateView *view)
{
GimpContainerTreeView *tree_view;
GimpContainerView *container_view;
GtkTreePath *path;
GtkTreeIter iter;
tree_view = GIMP_CONTAINER_TREE_VIEW (GIMP_CONTAINER_EDITOR (view)->view);
container_view = GIMP_CONTAINER_VIEW (tree_view);
path = gtk_tree_path_new_from_string (path_str);
if (gtk_tree_model_get_iter (tree_view->model, &iter, path))
{
GimpContainer *container;
GimpPreviewRenderer *renderer;
GimpObject *object;
container = gimp_container_view_get_container (container_view);
gtk_tree_model_get (tree_view->model, &iter,
tree_view->model_column_renderer, &renderer,
-1);
......
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