Movie Info Provider: removed message and signal offset
authorSimón Pena <spenap@gmail.com>
Mon, 17 May 2010 15:32:12 +0000 (17:32 +0200)
committerSimón Pena <spenap@gmail.com>
Mon, 17 May 2010 15:44:13 +0000 (17:44 +0200)
* Removed debug message when building the WATC Movie
* Replaced the signal offset expression with 0.

src/mvs-minfo-provider.c

index ef079e8..6c9f446 100644 (file)
@@ -120,7 +120,7 @@ mvs_minfo_provider_class_init (MvsMInfoProviderClass *klass)
 
         signals[RESPONSE_RECEIVED] = g_signal_new ("response-received", MVS_TYPE_MINFO_PROVIDER,
                         G_SIGNAL_RUN_LAST | G_SIGNAL_NO_RECURSE | G_SIGNAL_NO_HOOKS,
-                        G_STRUCT_OFFSET (MvsMInfoProviderClass, response_callback),
+                        0,
                         NULL,
                         NULL,
                         g_cclosure_marshal_VOID__POINTER,
@@ -254,7 +254,6 @@ parse_json (const char *json_data, goffset length)
         for (i = 0; i < array_length; i++) {
                 const gchar *result =
                                 json_array_get_string_element (results, i);
-                g_message ("Result %d: %s\n", i, result);
                 MvsWatcMovie *watc_movie = mvs_watc_movie_new (result);
                 list = g_list_prepend (list, watc_movie);
         }