[maemo-commits] [maemo-commits] r16086 - projects/haf/branches/hildon-thumbnail/daemonize/thumbs

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Wed Sep 10 16:37:40 EEST 2008
Author: pvanhoof
Date: 2008-09-10 16:37:38 +0300 (Wed, 10 Sep 2008)
New Revision: 16086

Modified:
   projects/haf/branches/hildon-thumbnail/daemonize/thumbs/thumber-register.c
Log:
Cleaning up code

Modified: projects/haf/branches/hildon-thumbnail/daemonize/thumbs/thumber-register.c
===================================================================
--- projects/haf/branches/hildon-thumbnail/daemonize/thumbs/thumber-register.c	2008-09-10 13:36:11 UTC (rev 16085)
+++ projects/haf/branches/hildon-thumbnail/daemonize/thumbs/thumber-register.c	2008-09-10 13:37:38 UTC (rev 16086)
@@ -4,6 +4,7 @@
  * Copyright (C) 2005 Nokia Corporation.
  *
  * Contact: Marius Vollmer <marius.vollmer at nokia.com>
+ * Author: Philip Van Hoof <pvanhoof at gnome.org>
  *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public License
@@ -26,12 +27,7 @@
 
 #include <glib.h>
 
-enum {
-    THUMBER_REGISTER_ERROR = 10
-} ThumberRegisterError;
 
-GQuark reg_quark = 0;
-
 #define CONVERT_CMD BIN_PATH G_DIR_SEPARATOR_S "hildon-thumbnailer-wrap.sh \"%s\" \"{uri}\" \"{large}\" \"{normal}\" \"{cropped}\" \"{mime_at}\" \"{mime}\""
 
 
@@ -234,8 +230,7 @@
     int status = 0;
 
     g_type_init();
-    reg_quark = g_quark_from_static_string("osso-thumber-register");
-
+ 
     if(argc != 3) {
         printf( "Usage:\n"
                 "    osso-thumber-register <handler-cmd> <mime-type>\n"


More information about the maemo-commits mailing list