[seed] [modules] Fix last remaining minor warnings in canvas and dbus



commit dd992cfa5813a59963b7d8d4f84c5ea55773de32
Author: Tim Horton <hortont svn gnome org>
Date:   Fri Jul 10 18:06:25 2009 -0400

    [modules] Fix last remaining minor warnings in canvas and dbus

 modules/canvas/seed-canvas.c |    6 +++---
 modules/dbus/dbus-values.c   |    3 +++
 2 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/modules/canvas/seed-canvas.c b/modules/canvas/seed-canvas.c
index ec7a9f0..1cd4bb0 100644
--- a/modules/canvas/seed-canvas.c
+++ b/modules/canvas/seed-canvas.c
@@ -272,7 +272,7 @@ seed_canvas_update_stroke_style (SeedContext ctx,
 				 SeedException * e)
 {
   SeedCanvasStyle *style;
-  GET_CR;
+  SeedCanvasPrivates *priv = seed_object_get_private(this_object);
 
   gchar *stroke_style = seed_value_to_string (ctx, value, e);
 
@@ -301,7 +301,7 @@ seed_canvas_update_fill_style (SeedContext ctx,
 				 SeedValue value, SeedException * e)
 {
   SeedCanvasStyle *style;
-  GET_CR;
+  SeedCanvasPrivates *priv = seed_object_get_private(this_object);
 
   gchar *fill_style = seed_value_to_string (ctx, value, e);
 
@@ -330,7 +330,7 @@ seed_canvas_update_global_alpha (SeedContext ctx,
 				 SeedValue value, SeedException * e)
 {
   SeedCanvasStyle *style;
-  GET_CR;
+  SeedCanvasPrivates *priv = seed_object_get_private(this_object);
 
   gdouble global_alpha = seed_value_to_double (ctx, value, e);
 
diff --git a/modules/dbus/dbus-values.c b/modules/dbus/dbus-values.c
index e6b85af..b9ea09d 100644
--- a/modules/dbus/dbus-values.c
+++ b/modules/dbus/dbus-values.c
@@ -386,6 +386,8 @@ append_string (SeedContext ctx,
   return TRUE;
 }
 
+/* Seems to be unused
+
 static gboolean
 append_int32 (SeedContext ctx,
 	      DBusMessageIter * iter,
@@ -431,6 +433,7 @@ append_int32 (SeedContext ctx,
 
   return TRUE;
 }
+*/
 
 static gboolean
 append_double (SeedContext ctx,



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