[gnome-shell] Use CoglHandle rather than CoglHandle*



commit b237cf9a637c8cda5e0b9c90a0aa62c279d7e6c6
Author: Adel Gadllah <adel gadllah gmail com>
Date:   Thu Jul 22 18:53:58 2010 +0200

    Use CoglHandle rather than CoglHandle*
    
    This breaks building on 1.4, and has always been wrong anyway.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=624571

 src/st/st-drawing-area.c          |    4 ++--
 src/st/st-theme-node-transition.c |   10 +++++-----
 2 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/src/st/st-drawing-area.c b/src/st/st-drawing-area.c
index 7115655..fa99d11 100644
--- a/src/st/st-drawing-area.c
+++ b/src/st/st-drawing-area.c
@@ -30,8 +30,8 @@
 G_DEFINE_TYPE(StDrawingArea, st_drawing_area, ST_TYPE_WIDGET);
 
 struct _StDrawingAreaPrivate {
-  CoglHandle *texture;
-  CoglHandle *material;
+  CoglHandle texture;
+  CoglHandle material;
   cairo_t *context;
   guint needs_repaint : 1;
   guint in_repaint : 1;
diff --git a/src/st/st-theme-node-transition.c b/src/st/st-theme-node-transition.c
index cbaddde..2dff2fd 100644
--- a/src/st/st-theme-node-transition.c
+++ b/src/st/st-theme-node-transition.c
@@ -33,13 +33,13 @@ struct _StThemeNodeTransitionPrivate {
   StThemeNode *old_theme_node;
   StThemeNode *new_theme_node;
 
-  CoglHandle *old_texture;
-  CoglHandle *new_texture;
+  CoglHandle old_texture;
+  CoglHandle new_texture;
 
-  CoglHandle *old_offscreen;
-  CoglHandle *new_offscreen;
+  CoglHandle old_offscreen;
+  CoglHandle new_offscreen;
 
-  CoglHandle *material;
+  CoglHandle material;
 
   ClutterAlpha    *alpha;
   ClutterTimeline *timeline;



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