summaryrefslogtreecommitdiff
path: root/gtk/gtktooltip.c
diff options
context:
space:
mode:
authorMichael Natterer <mitch@imendio.com>2008-01-25 09:30:40 +0000
committerMichael Natterer <mitch@src.gnome.org>2008-01-25 09:30:40 +0000
commita362eecc4a0c9b4aa28bac7b6e64b8dfaf360646 (patch)
treeb998c156b64284b009afcdf02107db6f03a1230e /gtk/gtktooltip.c
parent594b710214c1e6bfe4724d01b49c0a1cb76b8568 (diff)
downloadgtk+-a362eecc4a0c9b4aa28bac7b6e64b8dfaf360646.tar.gz
gtk/gtkbutton.h gtk/gtkcellrenderer.h gtk/gtkimcontext.h gtk/gtkstyle.h
2008-01-25 Michael Natterer <mitch@imendio.com> * gtk/gtkbutton.h * gtk/gtkcellrenderer.h * gtk/gtkimcontext.h * gtk/gtkstyle.h * gtk/gtktoolbar.h * gtk/gtktooltip.h * gtk/gtktreeprivate.h * gtk/gtktreeviewcolumn.h * gtk/gtkwidget.h: add const to constant structs which are passed into GTK+. Also add some forgotten const for const strings. * gtk/gtkbutton.c * gtk/gtkcellrenderer.c * gtk/gtkimcontext.c * gtk/gtkstyle.c * gtk/gtktoolbar.c * gtk/gtktooltip.c * gtk/gtktreeview.c * gtk/gtktreeviewcolumn.c * gtk/gtkwidget.c: changed accordingly. svn path=/trunk/; revision=19399
Diffstat (limited to 'gtk/gtktooltip.c')
-rw-r--r--gtk/gtktooltip.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtktooltip.c b/gtk/gtktooltip.c
index 53de9cfa73..63f9cc55cd 100644
--- a/gtk/gtktooltip.c
+++ b/gtk/gtktooltip.c
@@ -387,8 +387,8 @@ gtk_tooltip_set_custom (GtkTooltip *tooltip,
* Since: 2.12
*/
void
-gtk_tooltip_set_tip_area (GtkTooltip *tooltip,
- GdkRectangle *rect)
+gtk_tooltip_set_tip_area (GtkTooltip *tooltip,
+ const GdkRectangle *rect)
{
g_return_if_fail (GTK_IS_TOOLTIP (tooltip));