[gimp/gimp-2-10] app: cleanup previous commit from !31.
- From: Jehan <jehanp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/gimp-2-10] app: cleanup previous commit from !31.
- Date: Mon, 13 Apr 2020 14:50:18 +0000 (UTC)
commit d059b7c9a39286cf2d2bd3139b1e185005a095b8
Author: Jehan <jehan girinstud io>
Date: Mon Apr 13 16:48:16 2020 +0200
app: cleanup previous commit from !31.
Instead of waiting forever for minor trailing whitespace cleanup, I
merged the patches and do a separate commit.
app/widgets/gimppaletteeditor.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/app/widgets/gimppaletteeditor.c b/app/widgets/gimppaletteeditor.c
index 4cbf7aceed..b5f6285d23 100644
--- a/app/widgets/gimppaletteeditor.c
+++ b/app/widgets/gimppaletteeditor.c
@@ -249,7 +249,7 @@ gimp_palette_editor_init (GimpPaletteEditor *editor)
gimp_label_set_attributes (GTK_LABEL (editor->index_label),
PANGO_ATTR_FAMILY, "Monospace", -1);
gtk_widget_show (editor->index_label);
-
+
/* The color name entry */
editor->color_name = gtk_entry_new ();
gtk_box_pack_start (GTK_BOX (hbox), editor->color_name, TRUE, TRUE, 0);
@@ -779,14 +779,14 @@ palette_editor_entry_selected (GimpPaletteView *view,
if (editor->color != entry)
{
gchar index[8];
-
+
editor->color = entry;
if (entry)
g_snprintf (index, sizeof (index), "%04i", entry->position);
else
g_snprintf (index, sizeof (index), "####");
-
+
gtk_label_set_text (GTK_LABEL (editor->index_label), index);
g_signal_handlers_block_by_func (editor->color_name,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]