summaryrefslogtreecommitdiff
path: root/gtk/gtkseparatortoolitem.c
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2004-01-22 23:47:42 +0000
committerOwen Taylor <otaylor@src.gnome.org>2004-01-22 23:47:42 +0000
commit1b2ff84cbf018cbbcefb7e1545343cb493be1db7 (patch)
treecf185eed22b4ab40a8fa767d54fe6115e3ece27c /gtk/gtkseparatortoolitem.c
parente2551adbd7a8b5caab099f7d20e1ace6204b96cb (diff)
downloadgtk+-1b2ff84cbf018cbbcefb7e1545343cb493be1db7.tar.gz
Patch from Christian Neumair to make warning string more translator
Thu Jan 22 18:45:26 2004 Owen Taylor <otaylor@redhat.com> * gtk/gtkicontheme.c: Patch from Christian Neumair to make warning string more translator friendly. * gtk/gtktreemodelfilter.h gtkseparatortoolitem.[ch] gtk/gtktoolbar.c: Parameter name fixes to keep gtk-doc happy. * configure.in: Require GLib-2.3.2, version 2.3.2, interface age 0, binary age 302. * NEWS: Organized, added some names.
Diffstat (limited to 'gtk/gtkseparatortoolitem.c')
-rw-r--r--gtk/gtkseparatortoolitem.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/gtk/gtkseparatortoolitem.c b/gtk/gtkseparatortoolitem.c
index 9986a30573..cea119a8e3 100644
--- a/gtk/gtkseparatortoolitem.c
+++ b/gtk/gtkseparatortoolitem.c
@@ -260,7 +260,7 @@ gtk_separator_tool_item_new (void)
/**
* gtk_separator_tool_item_get_draw:
- * @separator_tool_item: a #GtkSeparatorToolItem
+ * @item: a #GtkSeparatorToolItem
*
* Returns whether @separator_tool_item is drawn as a
* line, or just blank. See gtk_separator_tool_item_set_draw().
@@ -270,16 +270,16 @@ gtk_separator_tool_item_new (void)
* Since: 2.4
**/
gboolean
-gtk_separator_tool_item_get_draw (GtkSeparatorToolItem *separator_tool_item)
+gtk_separator_tool_item_get_draw (GtkSeparatorToolItem *item)
{
- g_return_val_if_fail (GTK_IS_SEPARATOR_TOOL_ITEM (separator_tool_item), FALSE);
+ g_return_val_if_fail (GTK_IS_SEPARATOR_TOOL_ITEM (item), FALSE);
- return separator_tool_item->priv->draw;
+ return item->priv->draw;
}
/**
* gtk_separator_tool_item_set_draw:
- * @separator_tool_item: a #GtkSeparatorToolItem
+ * @item: a #GtkSeparatorToolItem
* @draw: whether @separator_tool_item is drawn as a vertical iln
*
* When @separator_tool_items is drawn as a vertical line, or just blank.
@@ -289,20 +289,20 @@ gtk_separator_tool_item_get_draw (GtkSeparatorToolItem *separator_tool_item)
* Since: 2.4
**/
void
-gtk_separator_tool_item_set_draw (GtkSeparatorToolItem *separator_tool_item,
+gtk_separator_tool_item_set_draw (GtkSeparatorToolItem *item,
gboolean draw)
{
- g_return_if_fail (GTK_IS_SEPARATOR_TOOL_ITEM (separator_tool_item));
+ g_return_if_fail (GTK_IS_SEPARATOR_TOOL_ITEM (item));
draw = draw != FALSE;
- if (draw != separator_tool_item->priv->draw)
+ if (draw != item->priv->draw)
{
- separator_tool_item->priv->draw = draw;
+ item->priv->draw = draw;
- gtk_widget_queue_draw (GTK_WIDGET (separator_tool_item));
+ gtk_widget_queue_draw (GTK_WIDGET (item));
- g_object_notify (G_OBJECT (separator_tool_item), "draw");
+ g_object_notify (G_OBJECT (item), "draw");
}
}