[emerillon/gtk3] cut-n-paste/empathy-cell-renderer: fix build warning incompatible pointer type



commit fb7d24537e2cfdc98d961b82fbb440e3254d0d2f
Author: Andreas Henriksson <andreas fatal se>
Date:   Thu Aug 4 16:46:45 2011 +0200

    cut-n-paste/empathy-cell-renderer: fix build warning incompatible pointer type
    
    The GdkRectangle arguments are now const in Gtk 3.x ...

 cut-paste/empathy-cell-renderer-activatable.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/cut-paste/empathy-cell-renderer-activatable.c b/cut-paste/empathy-cell-renderer-activatable.c
index 6c79826..ad72345 100644
--- a/cut-paste/empathy-cell-renderer-activatable.c
+++ b/cut-paste/empathy-cell-renderer-activatable.c
@@ -30,8 +30,8 @@ static gboolean cell_renderer_activatable_activate           (GtkCellRenderer
 							      GdkEvent                            *event,
 							      GtkWidget                           *widget,
 							      const gchar                         *path,
-							      GdkRectangle                        *background_area,
-							      GdkRectangle                        *cell_area,
+							      const GdkRectangle                  *background_area,
+							      const GdkRectangle                  *cell_area,
 							      GtkCellRendererState                 flags);
 
 enum {
@@ -84,8 +84,8 @@ cell_renderer_activatable_activate (GtkCellRenderer      *cell,
 				    GdkEvent             *event,
 				    GtkWidget            *widget,
 				    const gchar          *path_string,
-				    GdkRectangle         *background_area,
-				    GdkRectangle         *cell_area,
+				    const GdkRectangle   *background_area,
+				    const GdkRectangle   *cell_area,
 				    GtkCellRendererState  flags)
 {
 	EmpathyCellRendererActivatable *activatable;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]