[gnome-shell] recorder: Use CoglHandle instead of CoglHandle*



commit 4e9e91fdce7b887bc2fea99b36b6fad4a5cea2c6
Author: Florian MÃllner <fmuellner gnome org>
Date:   Thu Sep 22 00:58:08 2011 +0200

    recorder: Use CoglHandle instead of CoglHandle*
    
    The latter has always been wrong and should have been fixed a
    while ago, but somehow we overlooked shell-recorder.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=659822

 src/shell-recorder.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/shell-recorder.c b/src/shell-recorder.c
index 9df14d3..a624389 100644
--- a/src/shell-recorder.c
+++ b/src/shell-recorder.c
@@ -54,7 +54,7 @@ struct _ShellRecorder {
   gboolean have_xfixes;
   int xfixes_event_base;
 
-  CoglHandle *recording_icon; /* icon shown while playing */
+  CoglHandle recording_icon; /* icon shown while playing */
 
   cairo_surface_t *cursor_image;
   int cursor_hot_x;
@@ -160,13 +160,13 @@ G_DEFINE_TYPE(ShellRecorder, shell_recorder, G_TYPE_OBJECT);
  * recording. The emblem is drawn *after* we record the frame so doesn't
  * show up in the frame.
  */
-static CoglHandle *
+static CoglHandle
 create_recording_icon (void)
 {
   cairo_surface_t *surface = cairo_image_surface_create (CAIRO_FORMAT_ARGB32, 32, 32);
   cairo_t *cr;
   cairo_pattern_t *pat;
-  CoglHandle *texture;
+  CoglHandle texture;
 
   cr = cairo_create (surface);
 



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