From: Jonathan Parr Date: Sun, 20 Mar 2011 00:06:30 +0000 (+0000) Subject: Minor warning fixes. X-Git-Url: http://git.maemo.org/git/?p=stockwidget;a=commitdiff_plain;h=e8f5767641ebb6c41eeaf3442e5e1e48b84b0028;hp=81d626dcb156444849c33324d72fcaa6a22318c0 Minor warning fixes. --- diff --git a/lib-stock-home-widget.c b/lib-stock-home-widget.c index 8f8d5cb..628d73f 100644 --- a/lib-stock-home-widget.c +++ b/lib-stock-home-widget.c @@ -428,15 +428,10 @@ cairo_rounded_rectangle(cairo_t *cr, static gboolean stock_plugin_expose(GtkWidget* widget, GdkEventExpose *event) { - PangoLayout* layout; - PangoFontDescription* desc; - cairo_t* cr; - int width = 0; - int height = 0; - - GdkRectangle *psRect; - - StockPluginContext *psContext = STOCK_HOME_PLUGIN(widget)->context; + cairo_t* cr; + int width = 0; + int height = 0; + GdkRectangle *psRect; cr = gdk_cairo_create(GDK_DRAWABLE(widget->window));