From a362eecc4a0c9b4aa28bac7b6e64b8dfaf360646 Mon Sep 17 00:00:00 2001 From: Michael Natterer Date: Fri, 25 Jan 2008 09:30:40 +0000 Subject: gtk/gtkbutton.h gtk/gtkcellrenderer.h gtk/gtkimcontext.h gtk/gtkstyle.h 2008-01-25 Michael Natterer * 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 --- gtk/gtktooltip.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gtk/gtktooltip.c') 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)); -- cgit v1.2.1