[gtksourceview] Remove `const' modifier from signal handlers.
- From: Krzesimir Nowak <krnowak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtksourceview] Remove `const' modifier from signal handlers.
- Date: Wed, 8 Dec 2010 21:58:06 +0000 (UTC)
commit 4ca43d878a595153c94ddfa51e2b50bff5916e85
Author: Krzesimir Nowak <qdlacz gmail com>
Date: Wed Dec 8 22:30:16 2010 +0100
Remove `const' modifier from signal handlers.
gtksourceview/gtksourcegutterrenderer.c | 18 ++++++++--------
gtksourceview/gtksourcegutterrenderer.h | 28 ++++++++++++------------
gtksourceview/gtksourcegutterrendererlines.c | 4 +-
gtksourceview/gtksourcegutterrenderermarks.c | 4 +-
gtksourceview/gtksourcegutterrendererpixbuf.c | 6 ++--
gtksourceview/gtksourcegutterrenderertext.c | 10 ++++----
6 files changed, 35 insertions(+), 35 deletions(-)
---
diff --git a/gtksourceview/gtksourcegutterrenderer.c b/gtksourceview/gtksourcegutterrenderer.c
index 19bf89e..e6b9ffa 100644
--- a/gtksourceview/gtksourcegutterrenderer.c
+++ b/gtksourceview/gtksourcegutterrenderer.c
@@ -347,8 +347,8 @@ gtk_source_gutter_renderer_get_property (GObject *object,
static void
renderer_draw_impl (GtkSourceGutterRenderer *renderer,
cairo_t *cr,
- const GdkRectangle *background_area,
- const GdkRectangle *cell_area,
+ GdkRectangle *background_area,
+ GdkRectangle *cell_area,
GtkTextIter *start,
GtkTextIter *end,
GtkSourceGutterRendererState state)
@@ -682,8 +682,8 @@ gtk_source_gutter_renderer_init (GtkSourceGutterRenderer *self)
void
gtk_source_gutter_renderer_begin (GtkSourceGutterRenderer *renderer,
cairo_t *cr,
- const GdkRectangle *background_area,
- const GdkRectangle *cell_area,
+ GdkRectangle *background_area,
+ GdkRectangle *cell_area,
GtkTextIter *start,
GtkTextIter *end)
{
@@ -729,8 +729,8 @@ gtk_source_gutter_renderer_begin (GtkSourceGutterRenderer *renderer,
void
gtk_source_gutter_renderer_draw (GtkSourceGutterRenderer *renderer,
cairo_t *cr,
- const GdkRectangle *background_area,
- const GdkRectangle *cell_area,
+ GdkRectangle *background_area,
+ GdkRectangle *cell_area,
GtkTextIter *start,
GtkTextIter *end,
GtkSourceGutterRendererState state)
@@ -790,7 +790,7 @@ gtk_source_gutter_renderer_end (GtkSourceGutterRenderer *renderer)
gboolean
gtk_source_gutter_renderer_query_activatable (GtkSourceGutterRenderer *renderer,
GtkTextIter *iter,
- const GdkRectangle *area,
+ GdkRectangle *area,
GdkEvent *event)
{
gboolean ret;
@@ -827,7 +827,7 @@ gtk_source_gutter_renderer_query_activatable (GtkSourceGutterRenderer *renderer,
void
gtk_source_gutter_renderer_activate (GtkSourceGutterRenderer *renderer,
GtkTextIter *iter,
- const GdkRectangle *area,
+ GdkRectangle *area,
GdkEvent *event)
{
g_return_if_fail (GTK_IS_SOURCE_GUTTER_RENDERER (renderer));
@@ -874,7 +874,7 @@ gtk_source_gutter_renderer_queue_draw (GtkSourceGutterRenderer *renderer)
gboolean
gtk_source_gutter_renderer_query_tooltip (GtkSourceGutterRenderer *renderer,
GtkTextIter *iter,
- const GdkRectangle *area,
+ GdkRectangle *area,
gint x,
gint y,
GtkTooltip *tooltip)
diff --git a/gtksourceview/gtksourcegutterrenderer.h b/gtksourceview/gtksourcegutterrenderer.h
index 4934e4e..4a83e2c 100644
--- a/gtksourceview/gtksourcegutterrenderer.h
+++ b/gtksourceview/gtksourcegutterrenderer.h
@@ -82,15 +82,15 @@ struct _GtkSourceGutterRendererClass
/*< public >*/
void (*begin) (GtkSourceGutterRenderer *renderer,
cairo_t *cr,
- const GdkRectangle *background_area,
- const GdkRectangle *cell_area,
+ GdkRectangle *background_area,
+ GdkRectangle *cell_area,
GtkTextIter *start,
GtkTextIter *end);
void (*draw) (GtkSourceGutterRenderer *renderer,
cairo_t *cr,
- const GdkRectangle *background_area,
- const GdkRectangle *cell_area,
+ GdkRectangle *background_area,
+ GdkRectangle *cell_area,
GtkTextIter *start,
GtkTextIter *end,
GtkSourceGutterRendererState state);
@@ -100,19 +100,19 @@ struct _GtkSourceGutterRendererClass
/* Signal handlers */
gboolean (*query_activatable) (GtkSourceGutterRenderer *renderer,
GtkTextIter *iter,
- const GdkRectangle *area,
+ GdkRectangle *area,
GdkEvent *event);
void (*activate) (GtkSourceGutterRenderer *renderer,
GtkTextIter *iter,
- const GdkRectangle *area,
+ GdkRectangle *area,
GdkEvent *event);
void (*queue_draw) (GtkSourceGutterRenderer *renderer);
gboolean (*query_tooltip) (GtkSourceGutterRenderer *renderer,
GtkTextIter *iter,
- const GdkRectangle *area,
+ GdkRectangle *area,
gint x,
gint y,
GtkTooltip *tooltip);
@@ -127,15 +127,15 @@ GType gtk_source_gutter_renderer_get_type (void) G_GNUC_CONST;
void gtk_source_gutter_renderer_begin (GtkSourceGutterRenderer *renderer,
cairo_t *cr,
- const GdkRectangle *background_area,
- const GdkRectangle *cell_area,
+ GdkRectangle *background_area,
+ GdkRectangle *cell_area,
GtkTextIter *start,
GtkTextIter *end);
void gtk_source_gutter_renderer_draw (GtkSourceGutterRenderer *renderer,
cairo_t *cr,
- const GdkRectangle *background_area,
- const GdkRectangle *cell_area,
+ GdkRectangle *background_area,
+ GdkRectangle *cell_area,
GtkTextIter *start,
GtkTextIter *end,
GtkSourceGutterRendererState state);
@@ -187,13 +187,13 @@ void gtk_source_gutter_renderer_set_background (GtkSourceGutterRenderer
/* Emits the 'activate' signal */
void gtk_source_gutter_renderer_activate (GtkSourceGutterRenderer *renderer,
GtkTextIter *iter,
- const GdkRectangle *area,
+ GdkRectangle *area,
GdkEvent *event);
/* Emits the 'query-activatable' signal */
gboolean gtk_source_gutter_renderer_query_activatable (GtkSourceGutterRenderer *renderer,
GtkTextIter *iter,
- const GdkRectangle *area,
+ GdkRectangle *area,
GdkEvent *event);
/* Emits the 'queue-draw' signal */
@@ -202,7 +202,7 @@ void gtk_source_gutter_renderer_queue_draw (GtkSourceGutterRenderer
/* Emits the 'query-tooltip' signal */
gboolean gtk_source_gutter_renderer_query_tooltip (GtkSourceGutterRenderer *renderer,
GtkTextIter *iter,
- const GdkRectangle *area,
+ GdkRectangle *area,
gint x,
gint y,
GtkTooltip *tooltip);
diff --git a/gtksourceview/gtksourcegutterrendererlines.c b/gtksourceview/gtksourcegutterrendererlines.c
index b5a1030..1feeb36 100644
--- a/gtksourceview/gtksourcegutterrendererlines.c
+++ b/gtksourceview/gtksourcegutterrendererlines.c
@@ -253,7 +253,7 @@ select_line (GtkSourceGutterRendererLines *renderer,
static void
gutter_renderer_activate (GtkSourceGutterRenderer *renderer,
GtkTextIter *iter,
- const GdkRectangle *rect,
+ GdkRectangle *rect,
GdkEvent *event)
{
GtkSourceGutterRendererLines *lines;
@@ -287,7 +287,7 @@ gutter_renderer_activate (GtkSourceGutterRenderer *renderer,
static gboolean
gutter_renderer_query_activatable (GtkSourceGutterRenderer *renderer,
GtkTextIter *iter,
- const GdkRectangle *area,
+ GdkRectangle *area,
GdkEvent *event)
{
return GTK_SOURCE_GUTTER_RENDERER_LINES (renderer)->priv->buffer != NULL;
diff --git a/gtksourceview/gtksourcegutterrenderermarks.c b/gtksourceview/gtksourcegutterrenderermarks.c
index bdd4018..cc9be95 100644
--- a/gtksourceview/gtksourcegutterrenderermarks.c
+++ b/gtksourceview/gtksourcegutterrenderermarks.c
@@ -370,7 +370,7 @@ set_tooltip_widget_from_marks (GtkSourceView *view,
static gboolean
gutter_renderer_query_tooltip (GtkSourceGutterRenderer *renderer,
GtkTextIter *iter,
- const GdkRectangle *area,
+ GdkRectangle *area,
gint x,
gint y,
GtkTooltip *tooltip)
@@ -403,7 +403,7 @@ gutter_renderer_query_tooltip (GtkSourceGutterRenderer *renderer,
static gboolean
gutter_renderer_query_activatable (GtkSourceGutterRenderer *renderer,
GtkTextIter *iter,
- const GdkRectangle *area,
+ GdkRectangle *area,
GdkEvent *event)
{
return TRUE;
diff --git a/gtksourceview/gtksourcegutterrendererpixbuf.c b/gtksourceview/gtksourcegutterrendererpixbuf.c
index 1b20b29..72d3c5c 100644
--- a/gtksourceview/gtksourcegutterrendererpixbuf.c
+++ b/gtksourceview/gtksourcegutterrendererpixbuf.c
@@ -45,7 +45,7 @@ enum
static void
center_on (GtkSourceGutterRenderer *renderer,
- const GdkRectangle *cell_area,
+ GdkRectangle *cell_area,
GtkTextIter *iter,
gint width,
gint height,
@@ -68,8 +68,8 @@ center_on (GtkSourceGutterRenderer *renderer,
static void
gutter_renderer_pixbuf_draw (GtkSourceGutterRenderer *renderer,
cairo_t *cr,
- const GdkRectangle *background_area,
- const GdkRectangle *cell_area,
+ GdkRectangle *background_area,
+ GdkRectangle *cell_area,
GtkTextIter *start,
GtkTextIter *end,
GtkSourceGutterRendererState state)
diff --git a/gtksourceview/gtksourcegutterrenderertext.c b/gtksourceview/gtksourcegutterrenderertext.c
index d730d52..a23f4d0 100644
--- a/gtksourceview/gtksourcegutterrenderertext.c
+++ b/gtksourceview/gtksourcegutterrenderertext.c
@@ -54,8 +54,8 @@ create_layout (GtkSourceGutterRendererText *renderer,
static void
gutter_renderer_text_begin (GtkSourceGutterRenderer *renderer,
cairo_t *cr,
- const GdkRectangle *background_area,
- const GdkRectangle *cell_area,
+ GdkRectangle *background_area,
+ GdkRectangle *cell_area,
GtkTextIter *start,
GtkTextIter *end)
{
@@ -68,7 +68,7 @@ gutter_renderer_text_begin (GtkSourceGutterRenderer *renderer,
static void
center_on (GtkSourceGutterRenderer *renderer,
- const GdkRectangle *cell_area,
+ GdkRectangle *cell_area,
GtkTextIter *iter,
gint width,
gint height,
@@ -91,8 +91,8 @@ center_on (GtkSourceGutterRenderer *renderer,
static void
gutter_renderer_text_draw (GtkSourceGutterRenderer *renderer,
cairo_t *cr,
- const GdkRectangle *background_area,
- const GdkRectangle *cell_area,
+ GdkRectangle *background_area,
+ GdkRectangle *cell_area,
GtkTextIter *start,
GtkTextIter *end,
GtkSourceGutterRendererState state)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]