[gnome-control-center] shell: Fix compile time warning



commit 611ed2ffcfe4a4837e716aa1bb64c2e9e624f491
Author: Bastien Nocera <hadess hadess net>
Date:   Wed Oct 6 11:49:12 2010 +0100

    shell: Fix compile time warning
    
    And make the arguments match the expect ones.

 shell/shell-search-renderer.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/shell/shell-search-renderer.c b/shell/shell-search-renderer.c
index ef0b997..90df91c 100644
--- a/shell/shell-search-renderer.c
+++ b/shell/shell-search-renderer.c
@@ -221,8 +221,8 @@ static void
 shell_search_renderer_render (GtkCellRenderer      *cell,
                               cairo_t              *cr,
                               GtkWidget            *widget,
-                              GdkRectangle         *background_area,
-                              GdkRectangle         *cell_area,
+                              const GdkRectangle   *background_area,
+                              const GdkRectangle   *cell_area,
                               GtkCellRendererState  flags)
 {
   ShellSearchRendererPrivate *priv = SHELL_SEARCH_RENDERER (cell)->priv;



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