search for: swfdec_gtk_loader_get_class

Displaying 9 results from an estimated 9 matches for "swfdec_gtk_loader_get_class".

2007 Dec 03
0
libswfdec-gtk/swfdec_gtk_loader.c
...r.c index 92f01f7..9836e3f 100644 --- a/libswfdec-gtk/swfdec_gtk_loader.c +++ b/libswfdec-gtk/swfdec_gtk_loader.c @@ -183,11 +183,16 @@ swfdec_gtk_loader_close (SwfdecLoader *loader) SwfdecGtkLoader *gtk = SWFDEC_GTK_LOADER (loader); if (gtk->message) { - SwfdecGtkLoaderClass *klass = SWFDEC_GTK_LOADER_GET_CLASS (gtk); + gboolean eof; - soup_session_cancel_message (klass->session, gtk->message); - g_object_unref (gtk->message); - gtk->message = NULL; + g_object_get (loader, "eof", &eof, NULL); + if (!eof) { + SwfdecGtkLoaderClass *klass = SWFDEC_GTK_LOADER...
2007 Aug 02
1
libswfdec-gtk/swfdec_gtk_loader.c
libswfdec-gtk/swfdec_gtk_loader.c | 1 + 1 files changed, 1 insertion(+) New commits: diff-tree 4d1ee537d4cd388a8b21003496d3511df6f0549d (from ba4f1da69d0c74c45b0b4d92330f2203d258bb49) Author: Benjamin Otte <otte at gnome.org> Date: Thu Aug 2 13:06:55 2007 +0200 keep a reference to the message, since it's unreffed automagically diff --git a/libswfdec-gtk/swfdec_gtk_loader.c
2007 Aug 08
0
6 commits - libswfdec-gtk/swfdec_gtk_loader.c libswfdec/swfdec_as_strings.c libswfdec/swfdec_loader.c libswfdec/swfdec_loader.h libswfdec/swfdec_loader_internal.h libswfdec/swfdec_net_stream_as.c libswfdec/swfdec_net_stream.c
...tk_loader.c +++ b/libswfdec-gtk/swfdec_gtk_loader.c @@ -141,6 +141,20 @@ swfdec_gtk_loader_load (SwfdecLoader *lo } static void +swfdec_gtk_loader_close (SwfdecLoader *loader) +{ + SwfdecGtkLoader *gtk = SWFDEC_GTK_LOADER (loader); + + if (gtk->message) { + SwfdecGtkLoaderClass *klass = SWFDEC_GTK_LOADER_GET_CLASS (gtk); + + soup_session_cancel_message (klass->session, gtk->message); + g_object_unref (gtk->message); + gtk->message = NULL; + } +} + +static void swfdec_gtk_loader_class_init (SwfdecGtkLoaderClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); @@ -149,6...
2007 Aug 02
0
4 commits - libswfdec-gtk/swfdec_gtk_loader.c libswfdec/swfdec_file_loader.c libswfdec/swfdec_loader.c libswfdec/swfdec_loader.h player/swfdec_slow_loader.c
...DER_CLASS (swfdec_gtk_loader_parent_class)->load (loader, request, data, data_len); + SWFDEC_LOADER_CLASS (swfdec_gtk_loader_parent_class)->load (loader, parent, request, data, data_len); } else { SwfdecGtkLoader *gtk = SWFDEC_GTK_LOADER (loader); SwfdecGtkLoaderClass *klass = SWFDEC_GTK_LOADER_GET_CLASS (gtk); @@ -179,6 +179,6 @@ swfdec_gtk_loader_new (const char *uri) url = swfdec_url_new (uri); loader = g_object_new (SWFDEC_TYPE_GTK_LOADER, "url", url, NULL); swfdec_url_free (url); - swfdec_gtk_loader_load (loader, SWFDEC_LOADER_REQUEST_DEFAULT, NULL, 0); + swfdec_gtk_loader...
2007 Aug 02
0
15 commits - configure.ac doc/swfdec-sections.txt libswfdec-gtk/Makefile.am libswfdec-gtk/swfdec_gtk_loader.c libswfdec/Makefile.am libswfdec/swfdec_as_object.c libswfdec/swfdec_as_object.h libswfdec/swfdec_file_loader.c libswfdec/swfdec_file_loader.h
...g_print ("error %u\n", msg->status_code); swfdec_loader_error (loader, "FIXME: make useful error message"); } } @@ -133,7 +128,6 @@ swfdec_gtk_loader_load (SwfdecLoader *lo SwfdecGtkLoader *gtk = SWFDEC_GTK_LOADER (loader); SwfdecGtkLoaderClass *klass = SWFDEC_GTK_LOADER_GET_CLASS (gtk); - g_print ("new %s\n", swfdec_url_get_url (url)); gtk->message = soup_message_new (request == SWFDEC_LOADER_REQUEST_POST ? "POST" : "GET", swfdec_url_get_url (url)); soup_message_set_flags (gtk->message, SOUP_MESSAGE_OVERWRITE_CHUNKS); dif...
2007 Apr 02
0
4 commits - configure.ac doc/Makefile.am doc/swfdec-docs.sgml doc/swfdec-sections.txt doc/swfdec.types libswfdec-gtk/Makefile.am libswfdec-gtk/swfdec-gtk.h libswfdec-gtk/swfdec_gtk_loader.c libswfdec-gtk/swfdec_gtk_loader.h
...E_GTK_WIDGET </SECTION> + +<SECTION> +<FILE>SwfdecGtkLoader</FILE> +<TITLE>SwfdecGtkLoader</TITLE> +SwfdecGtkLoader +swfdec_gtk_loader_new +<SUBSECTION Standard> +swfdec_gtk_loader_get_type +SwfdecGtkLoaderClass +SWFDEC_GTK_LOADER +SWFDEC_GTK_LOADER_CLASS +SWFDEC_GTK_LOADER_GET_CLASS +SWFDEC_IS_GTK_LOADER +SWFDEC_IS_GTK_LOADER_CLASS +SWFDEC_TYPE_GTK_LOADER +</SECTION> diff --git a/doc/swfdec.types b/doc/swfdec.types index dbd39e4..9b70671 100644 --- a/doc/swfdec.types +++ b/doc/swfdec.types @@ -1,8 +1,10 @@ #include <libswfdec/swfdec.h> +#include <libswfdec-gtk/...
2008 Jun 15
1
14 commits - configure.ac swfdec/.gitignore swfdec-gtk/swfdec_gtk_loader.c swfdec-gtk/swfdec_playback_alsa.c swfdec/Makefile.am swfdec/swfdec_asnative.h swfdec/swfdec_as_string.c swfdec/swfdec_audio.c swfdec/swfdec_audio_load.c swfdec/swfdec_audio_load.h
...ER_CLASS (swfdec_gtk_loader_parent_class)->load (loader, player, - url_string, buffer, header_count, header_names, header_values); + url_string, buffer, n_headers, header_names, header_values); } else { SwfdecGtkLoader *gtk = SWFDEC_GTK_LOADER (loader); SwfdecGtkLoaderClass *klass = SWFDEC_GTK_LOADER_GET_CLASS (gtk); @@ -161,7 +161,7 @@ swfdec_gtk_loader_load (SwfdecLoader *loader, SwfdecPlayer *player, swfdec_url_get_url (url)); soup_message_set_flags (gtk->message, SOUP_MESSAGE_OVERWRITE_CHUNKS); - for (i = 0; i < header_count; i++) { + for (i = 0; i < n_headers; i++) { s...
2007 Apr 04
0
Branch 'as' - 17 commits - configure.ac doc/Makefile.am doc/swfdec-docs.sgml doc/swfdec-sections.txt doc/swfdec.types libswfdec-gtk/Makefile.am libswfdec-gtk/swfdec-gtk.h libswfdec-gtk/swfdec_gtk_loader.c libswfdec-gtk/swfdec_gtk_loader.h
...E_GTK_WIDGET </SECTION> + +<SECTION> +<FILE>SwfdecGtkLoader</FILE> +<TITLE>SwfdecGtkLoader</TITLE> +SwfdecGtkLoader +swfdec_gtk_loader_new +<SUBSECTION Standard> +swfdec_gtk_loader_get_type +SwfdecGtkLoaderClass +SWFDEC_GTK_LOADER +SWFDEC_GTK_LOADER_CLASS +SWFDEC_GTK_LOADER_GET_CLASS +SWFDEC_IS_GTK_LOADER +SWFDEC_IS_GTK_LOADER_CLASS +SWFDEC_TYPE_GTK_LOADER +</SECTION> diff --git a/doc/swfdec.types b/doc/swfdec.types index dbd39e4..9b70671 100644 --- a/doc/swfdec.types +++ b/doc/swfdec.types @@ -1,8 +1,10 @@ #include <libswfdec/swfdec.h> +#include <libswfdec-gtk/...
2008 Jan 21
0
70 commits - configure.ac libswfdec-gtk/Makefile.am libswfdec-gtk/swfdec-gtk.h libswfdec-gtk/swfdec_gtk_loader.c libswfdec-gtk/swfdec_gtk_player.c libswfdec-gtk/swfdec_gtk_socket.c libswfdec-gtk/swfdec_gtk_socket.h libswfdec-gtk/swfdec_playback_alsa.c
...DER_CLASS (swfdec_gtk_loader_parent_class)->load (loader, parent, request, data, data_len); + SWFDEC_LOADER_CLASS (swfdec_gtk_loader_parent_class)->load (loader, parent, request, buffer); } else { SwfdecGtkLoader *gtk = SWFDEC_GTK_LOADER (loader); SwfdecGtkLoaderClass *klass = SWFDEC_GTK_LOADER_GET_CLASS (gtk); @@ -157,9 +157,9 @@ swfdec_gtk_loader_load (SwfdecLoader *loader, SwfdecLoader *parent, soup_message_set_flags (gtk->message, SOUP_MESSAGE_OVERWRITE_CHUNKS); g_signal_connect (gtk->message, "got-chunk", G_CALLBACK (swfdec_gtk_loader_push), gtk); g_signal_connec...