[gimp] Minor formatting fixes
- From: Michael Natterer <mitch src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gimp] Minor formatting fixes
- Date: Sun, 18 Oct 2009 11:06:27 +0000 (UTC)
commit e979da8b22e14e2108461f49f85f46e4a602a6c6
Author: Michael Natterer <mitch gimp org>
Date: Sun Oct 18 13:03:01 2009 +0200
Minor formatting fixes
app/widgets/gimpdatafactoryview.c | 11 +++++++----
1 files changed, 7 insertions(+), 4 deletions(-)
---
diff --git a/app/widgets/gimpdatafactoryview.c b/app/widgets/gimpdatafactoryview.c
index 6996d52..5d2bc41 100644
--- a/app/widgets/gimpdatafactoryview.c
+++ b/app/widgets/gimpdatafactoryview.c
@@ -148,7 +148,7 @@ gimp_data_factory_view_new (GimpViewType view_type,
return GTK_WIDGET (factory_view);
}
-GtkWidget *
+GtkWidget *
gimp_data_factory_view_get_edit_button (GimpDataFactoryView *factory_view)
{
g_return_val_if_fail (GIMP_IS_DATA_FACTORY_VIEW (factory_view), NULL);
@@ -156,7 +156,7 @@ gimp_data_factory_view_get_edit_button (GimpDataFactoryView *factory_view)
return factory_view->priv->edit_button;
}
-GtkWidget *
+GtkWidget *
gimp_data_factory_view_get_duplicate_button (GimpDataFactoryView *factory_view)
{
g_return_val_if_fail (GIMP_IS_DATA_FACTORY_VIEW (factory_view), NULL);
@@ -333,19 +333,22 @@ gimp_data_factory_view_select_item (GimpContainerEditor *editor,
if (view->priv->assign_tag_entry)
{
- GList *active_items = NULL;
+ GList *active_items = NULL;
if (viewable)
{
active_items = g_list_append (active_items, viewable);
}
+
gimp_tag_entry_set_selected_items (GIMP_TAG_ENTRY (view->priv->assign_tag_entry),
active_items);
+
g_list_free (active_items);
}
else
{
- view->priv->selected_items = g_list_append (view->priv->selected_items, viewable);
+ view->priv->selected_items = g_list_append (view->priv->selected_items,
+ viewable);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]