Updating branch refs/heads/jeromeg/webkit-thumbnailer-rebased
         to 50ebf15879fc4bfc405fb047d15eae02ee5a2a86 (commit)
       from 4f7cd26ac7fc05bef9d6415c007838ec792f4426 (commit)

commit 50ebf15879fc4bfc405fb047d15eae02ee5a2a86
Author: Jérôme Guelfucci <jero...@xfce.org>
Date:   Mon May 9 19:22:39 2011 +0200

    Fix code style.

 plugins/webkit-thumbnailer/webkit-thumbnailer.c |   21 +++++++++------------
 1 files changed, 9 insertions(+), 12 deletions(-)

diff --git a/plugins/webkit-thumbnailer/webkit-thumbnailer.c 
b/plugins/webkit-thumbnailer/webkit-thumbnailer.c
index d3b7e78..65bc474 100644
--- a/plugins/webkit-thumbnailer/webkit-thumbnailer.c
+++ b/plugins/webkit-thumbnailer/webkit-thumbnailer.c
@@ -23,17 +23,14 @@
 #include <config.h>
 #endif
 
-#include <math.h>
-
 #include <glib.h>
 #include <glib/gi18n.h>
 #include <glib-object.h>
 
 #include <gdk-pixbuf/gdk-pixbuf.h>
-
-#include <webkit/webkit.h>
-
+#include <math.h>
 #include <tumbler/tumbler.h>
+#include <webkit/webkit.h>
 
 #include <webkit-thumbnailer/webkit-thumbnailer.h>
 
@@ -56,9 +53,9 @@ struct _WebkitThumbnailer
 {
   TumblerAbstractThumbnailer __parent__;
 
+  GdkPixbuf *tmp;
   GtkWidget *offscreen;
   GtkWidget *view;
-  GdkPixbuf *tmp;
 };
 
 
@@ -177,8 +174,8 @@ generate_pixbuf (GdkPixbuf *source,
 {
   gdouble hratio;
   gdouble wratio;
-  gint    source_width;
   gint    source_height;
+  gint    source_width;
 
   /* determine the source pixbuf dimensions */
   source_width  = gdk_pixbuf_get_width (source);
@@ -220,16 +217,16 @@ webkit_thumbnailer_create (TumblerAbstractThumbnailer 
*thumbnailer,
                            GCancellable               *cancellable,
                            TumblerFileInfo            *info)
 {
-  GdkPixbuf              *pixbuf;
-  WebkitThumbnailer      *webkit_thumbnailer;
   TumblerThumbnailFlavor *flavor;
-  TumblerThumbnail       *thumbnail;
+  WebkitThumbnailer      *webkit_thumbnailer;
   TumblerImageData        data;
+  TumblerThumbnail       *thumbnail;
+  const gchar            *uri;
+  GdkPixbuf              *pixbuf;
   GError                 *error = NULL;
   guint                   timeout_id;
-  gint                    dest_width;
   gint                    dest_height;
-  const gchar            *uri;
+  gint                    dest_width;
 
   g_return_if_fail (IS_WEBKIT_THUMBNAILER (thumbnailer));
   g_return_if_fail (cancellable == NULL || G_IS_CANCELLABLE (cancellable));
_______________________________________________
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits

Reply via email to