[gimp] app: fix parameter name of gimp_image_map_tool_add_color_picker()
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: fix parameter name of gimp_image_map_tool_add_color_picker()
- Date: Thu, 30 May 2013 21:27:19 +0000 (UTC)
commit 0a2b86e5341c84a89086ea0cb55a2be0e8ed1499
Author: Michael Natterer <mitch gimp org>
Date: Thu May 30 23:25:39 2013 +0200
app: fix parameter name of gimp_image_map_tool_add_color_picker()
It's a "tooltip", and used as such, not a "help_id".
app/tools/gimpimagemaptool.c | 6 +++---
app/tools/gimpimagemaptool.h | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/app/tools/gimpimagemaptool.c b/app/tools/gimpimagemaptool.c
index 3dd5fb2..673c8a9 100644
--- a/app/tools/gimpimagemaptool.c
+++ b/app/tools/gimpimagemaptool.c
@@ -933,7 +933,7 @@ GtkWidget *
gimp_image_map_tool_add_color_picker (GimpImageMapTool *tool,
gpointer identifier,
const gchar *stock_id,
- const gchar *help_id)
+ const gchar *tooltip)
{
GtkWidget *button;
GtkWidget *image;
@@ -950,8 +950,8 @@ gimp_image_map_tool_add_color_picker (GimpImageMapTool *tool,
gtk_container_add (GTK_CONTAINER (button), image);
gtk_widget_show (image);
- if (help_id)
- gimp_help_set_help_data (button, help_id, NULL);
+ if (tooltip)
+ gimp_help_set_help_data (button, tooltip, NULL);
g_object_set_data (G_OBJECT (button), "picker-identifier", identifier);
diff --git a/app/tools/gimpimagemaptool.h b/app/tools/gimpimagemaptool.h
index 58eab3a..4b8ef8b 100644
--- a/app/tools/gimpimagemaptool.h
+++ b/app/tools/gimpimagemaptool.h
@@ -117,7 +117,7 @@ GtkSizeGroup * gimp_image_map_tool_dialog_get_label_group (GimpImageMapTool *too
GtkWidget * gimp_image_map_tool_add_color_picker (GimpImageMapTool *tool,
gpointer identifier,
const gchar *stock_id,
- const gchar *help_id);
+ const gchar *tooltip);
#endif /* __GIMP_IMAGE_MAP_TOOL_H__ */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]