Displaying 5 results from an estimated 5 matches for "g_timer_destroy".
2008 Jan 29
2
yum fails with invalid dependency on sqlite
...00:00
Reading repository metadata in from local files
primary.xml.gz 100% |=========================| 74 kB 00:01
(process:1999): GLib-CRITICAL **: file gtimer.c: line 106
(g_timer_stop): assertion `timer != NULL' failed
(process:1999): GLib-CRITICAL **: file gtimer.c: line 88
(g_timer_destroy): assertion `timer != NULL' failed
Traceback (most recent call last):
File "/usr/bin/yum", line 29, in ?
yummain.main(sys.argv[1:])
File "/usr/share/yum-cli/yummain.py", line 97, in main
result, resultmsgs = do()
File "/usr/share/yum-cli/cli.py", line...
2007 Nov 01
0
4 commits - libswfdec/swfdec_sound_object.c libswfdec/swfdec_text_field_movie_as.c libswfdec/swfdec_text_field_movie.c test/crashfinder.c test/Makefile.am
...>= max_per_file ||
+ swfdec_as_context_is_aborted (SWFDEC_AS_CONTEXT (player))) {
+ g_print ("Aborted: %s\n", filenames[i]);
+ aborts = TRUE;
+ } else {
+ g_print ("Finished: %s\n", filenames[i]);
+ }
+
+ // clean up
+ g_object_unref (player);
+ g_timer_destroy (timer);
+ }
+
+ cairo_destroy (cr);
+ cairo_surface_destroy (surface);
+
+ if (aborts) {
+ return 1;
+ } else {
+ return 0;
+ }
+}
commit e62589ee79f26dead719bfb2ab6f45f58f822693
Author: Pekka Lampila <pekka.lampila at iki.fi>
Date: Wed Oct 31 15:10:40 2007 +0200
Fix an as...
2007 Oct 22
0
6 commits - doc/Makefile.am doc/swfdec-sections.txt libswfdec-gtk/swfdec_gtk_player.c libswfdec/swfdec_as_context.c libswfdec/swfdec_as_context.h libswfdec/swfdec_as_internal.h libswfdec/swfdec_player.c libswfdec/swfdec_player.h
...));
+ break;
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, param_id, pspec);
break;
@@ -811,6 +818,10 @@ swfdec_player_dispose (GObject *object)
}
g_array_free (player->invalidations, TRUE);
player->invalidations = NULL;
+ if (player->runtime) {
+ g_timer_destroy (player->runtime);
+ player->runtime = NULL;
+ }
}
static void
@@ -1289,6 +1300,16 @@ swfdec_player_get_time (SwfdecAsContext *context, GTimeVal *tv)
g_time_val_add (tv, SWFDEC_TICKS_TO_MSECS (SWFDEC_PLAYER (context)->time) * 1000);
}
+static gboolean
+swfdec_player_check_con...
2007 Dec 13
0
libswfdec-gtk/swfdec_gtk_player.c libswfdec/swfdec_as_date.c libswfdec/swfdec_audio.c libswfdec/swfdec_audio_event.c libswfdec/swfdec_button_movie.c libswfdec/swfdec_interval.c libswfdec/swfdec_key_as.c libswfdec/swfdec_mouse_as.c libswfdec/swfdec_movie.c
...ntervals);
+ priv->intervals = NULL;
+ swfdec_cache_unref (priv->cache);
+ if (priv->system) {
+ g_object_unref (priv->system);
+ priv->system = NULL;
}
- g_array_free (player->invalidations, TRUE);
- player->invalidations = NULL;
- if (player->runtime) {
- g_timer_destroy (player->runtime);
- player->runtime = NULL;
+ g_array_free (priv->invalidations, TRUE);
+ priv->invalidations = NULL;
+ if (priv->runtime) {
+ g_timer_destroy (priv->runtime);
+ priv->runtime = NULL;
}
}
@@ -915,21 +937,22 @@ swfdec_player_broadcast (SwfdecPl...
2008 Jan 07
0
12 commits - configure.ac doc/swfdec.types Makefile.am test/crashfinder.c test/dump.c test/Makefile.am test/swfdec-extract.c test/swfdec_out.c test/swfdec_out.h test/swfedit.c test/swfedit_file.c test/swfedit_file.h test/swfedit_list.c test/swfedit_list.h
...>= max_per_file ||
- swfdec_as_context_is_aborted (SWFDEC_AS_CONTEXT (player))) {
- g_print ("Aborted: %s\n", filenames[i]);
- aborts = TRUE;
- } else {
- g_print ("Finished: %s\n", filenames[i]);
- }
-
- // clean up
- g_object_unref (player);
- g_timer_destroy (timer);
- }
-
- cairo_destroy (cr);
- cairo_surface_destroy (surface);
-
- if (aborts) {
- return 1;
- } else {
- return 0;
- }
-}
diff --git a/test/dump.c b/test/dump.c
deleted file mode 100644
index efea56d..0000000
--- a/test/dump.c
+++ /dev/null
@@ -1,448 +0,0 @@
-/* Swfdec
- * Cop...