[gtk+/picture: 21/22] gtk: Make region argument to gtk_widget_queue_Draw_region() const
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/picture: 21/22] gtk: Make region argument to gtk_widget_queue_Draw_region() const
- Date: Mon, 14 Feb 2011 18:35:37 +0000 (UTC)
commit fe3b6ffc7ae17ebec02b5cd8b0ec87127c57f5ec
Author: Benjamin Otte <otte redhat com>
Date: Mon Feb 14 19:10:39 2011 +0100
gtk: Make region argument to gtk_widget_queue_Draw_region() const
gtk/gtkwidget.c | 4 ++--
gtk/gtkwidget.h | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c
index b2e3572..4683a7c 100644
--- a/gtk/gtkwidget.c
+++ b/gtk/gtkwidget.c
@@ -4464,8 +4464,8 @@ gtk_widget_unrealize (GtkWidget *widget)
* Since: 3.0
**/
void
-gtk_widget_queue_draw_region (GtkWidget *widget,
- cairo_region_t *region)
+gtk_widget_queue_draw_region (GtkWidget *widget,
+ const cairo_region_t *region)
{
GtkWidgetPrivate *priv;
GtkWidget *w;
diff --git a/gtk/gtkwidget.h b/gtk/gtkwidget.h
index c391b22..49fde65 100644
--- a/gtk/gtkwidget.h
+++ b/gtk/gtkwidget.h
@@ -477,7 +477,7 @@ void gtk_widget_queue_draw_area (GtkWidget *widget,
gint width,
gint height);
void gtk_widget_queue_draw_region (GtkWidget *widget,
- cairo_region_t *region);
+ const cairo_region_t*region);
void gtk_widget_queue_resize (GtkWidget *widget);
void gtk_widget_queue_resize_no_redraw (GtkWidget *widget);
#ifndef GTK_DISABLE_DEPRECATED
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]