search for: swfdec_debug_movies_movie_to_path

Displaying 3 results from an estimated 3 matches for "swfdec_debug_movies_movie_to_path".

2007 Aug 07
0
5 commits - libswfdec/swfdec_as_context.c libswfdec/swfdec_keys.h libswfdec/swfdec_movie.c libswfdec/swfdec_movie.h libswfdec/swfdec_sprite_movie_as.c player/swfdebug.c player/swfdec_debug_movies.c player/swfdec_debug_movies.h test/trace
...->stamp = movies->stamp; return TRUE; } -static gint -my_g_list_is_nth (GList *list, gpointer data) -{ - gint count; - - count = 0; - for (; list; list = list->next) { - if (list->data == data) - return count; - count++; - } - return -1; -} - static GtkTreePath * -swfdec_debug_movies_movie_to_path (SwfdecMovie *movie) +swfdec_debug_movies_node_to_path (GNode *node) { GtkTreePath *path; - gint i; - if (movie->parent) { - i = my_g_list_is_nth (movie->parent->list, movie); - g_assert (i >= 0); - path = swfdec_debug_movies_movie_to_path (movie->parent); - gtk_t...
2007 Mar 15
0
11 commits - libswfdec/swfdec_debugger.c libswfdec/swfdec_debugger.h libswfdec/swfdec_event.c libswfdec/swfdec_js_movie.c libswfdec/swfdec_movie.c libswfdec/swfdec_movie.h libswfdec/swfdec_net_stream.c libswfdec/swfdec_player.c
...; + } + iter->user_data = movie; + return TRUE; +} + +gint +my_g_list_is_nth (GList *list, gpointer data) +{ + gint count; + + count = 0; + for (; list; list = list->next) { + if (list->data == data) + return count; + count++; + } + return -1; +} + +static GtkTreePath * +swfdec_debug_movies_movie_to_path (SwfdecMovie *movie) +{ + GtkTreePath *path; + gint i; + + if (movie->parent) { + i = my_g_list_is_nth (movie->parent->list, movie); + g_assert (i >= 0); + path = swfdec_debug_movies_movie_to_path (movie->parent); + gtk_tree_path_append_index (path, i); + } else { +...
2007 Jun 05
0
Branch 'as' - 8 commits - libswfdec/Makefile.am libswfdec/swfdec_as_context.c libswfdec/swfdec_as_frame.c libswfdec/swfdec_as_frame.h libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_number.c libswfdec/swfdec_as_scope.h
...rg> Date: Tue Jun 5 13:53:49 2007 +0200 fix debugger bits for removal of SwfdecRootMovie.player diff --git a/player/swfdec_debug_movies.c b/player/swfdec_debug_movies.c index 14e4281..30d758a 100644 --- a/player/swfdec_debug_movies.c +++ b/player/swfdec_debug_movies.c @@ -126,7 +126,7 @@ swfdec_debug_movies_movie_to_path (Swfde path = swfdec_debug_movies_movie_to_path (movie->parent); gtk_tree_path_append_index (path, i); } else { - i = my_g_list_is_nth (SWFDEC_ROOT_MOVIE (movie)->player->roots, movie); + i = my_g_list_is_nth (SWFDEC_PLAYER (SWFDEC_AS_OBJECT (movie)->context)->root...