search for: g_thread_init

Displaying 14 results from an estimated 14 matches for "g_thread_init".

2007 Oct 21
0
2 commits - libswfdec-gtk/swfdec_gtk_loader.c libswfdec-gtk/swfdec_gtk_widget.c
...dec-gtk/swfdec_gtk_loader.c | 3 ++- libswfdec-gtk/swfdec_gtk_widget.c | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) New commits: commit a627260de1398da19cfdb93efe16bcb1fe2caef7 Author: Benjamin Otte <otte at gnome.org> Date: Sun Oct 21 19:09:58 2007 +0200 only call g_thread_init() once diff --git a/libswfdec-gtk/swfdec_gtk_loader.c b/libswfdec-gtk/swfdec_gtk_loader.c index 0e860b9..f61a999 100644 --- a/libswfdec-gtk/swfdec_gtk_loader.c +++ b/libswfdec-gtk/swfdec_gtk_loader.c @@ -206,7 +206,8 @@ swfdec_gtk_loader_class_init (SwfdecGtkLoaderClass *klass) loader_class-&gt...
2008 Jan 07
0
3 commits - libswfdec-gtk/swfdec_gtk_loader.c libswfdec/swfdec_as_array.c libswfdec/swfdec_asbroadcaster.c libswfdec/swfdec_as_function.c libswfdec/swfdec_as_types.c libswfdec/swfdec_xml.c
..., '&', end - p)) != NULL) { string = g_string_append_len (string, start, p - start); for (i = 0; xml_entities[i].escaped != NULL; i++) { commit 1b0c6573542709794c06462805825797d3d23888 Author: Benjamin Otte <otte at gnome.org> Date: Fri Jan 4 19:18:04 2008 +0100 g_thread_init() is called by swfdec_init() already, no need to call it again diff --git a/libswfdec-gtk/swfdec_gtk_loader.c b/libswfdec-gtk/swfdec_gtk_loader.c index 9836e3f..80d95c7 100644 --- a/libswfdec-gtk/swfdec_gtk_loader.c +++ b/libswfdec-gtk/swfdec_gtk_loader.c @@ -209,8 +209,6 @@ swfdec_gtk_loader_clas...
2007 Oct 21
0
libswfdec-gtk/Makefile.am
libswfdec-gtk/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) New commits: commit ade9662fa6286636bf22007a5c13898a64bd49b1 Author: Benjamin Otte <otte at gnome.org> Date: Sun Oct 21 16:52:57 2007 +0200 We cann g_thread_init() here, so require gthread diff --git a/libswfdec-gtk/Makefile.am b/libswfdec-gtk/Makefile.am index 5aa9af5..b04b40f 100644 --- a/libswfdec-gtk/Makefile.am +++ b/libswfdec-gtk/Makefile.am @@ -22,12 +22,12 @@ noinst_HEADERS = \ libswfdec_gtk_ at SWFDEC_MAJORMINOR@_la_CFLAGS = \ -I$(top_srcdir)...
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 Oct 28
0
5 commits - autogen.sh configure.ac libswfdec-gtk/Makefile.am libswfdec/swfdec_codec_audio.c libswfdec/swfdec_codec_video.c libswfdec/swfdec_player.c test/trace
...R@include_HEADERS = \ swfdec-gtk.h \ diff --git a/libswfdec/swfdec_player.c b/libswfdec/swfdec_player.c index babd2ad..284b7f7 100644 --- a/libswfdec/swfdec_player.c +++ b/libswfdec/swfdec_player.c @@ -2059,6 +2059,8 @@ swfdec_init (void) _inited = TRUE; + if (!g_thread_supported ()) + g_thread_init (NULL); g_type_init (); oil_init (); diff --git a/test/trace/Makefile.am b/test/trace/Makefile.am index 0732b48..2086980 100644 --- a/test/trace/Makefile.am +++ b/test/trace/Makefile.am @@ -9,8 +9,8 @@ trace_SOURCES = \ noinst_HEADERS = \ swfdec_interaction.h -trace_CFLAGS = $(GLOBAL_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
...s *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); @@ -149,6 +163,7 @@ swfdec_gtk_loader_class_init (SwfdecGtkL object_class->dispose = swfdec_gtk_loader_dispose; loader_class->load = swfdec_gtk_loader_load; + loader_class->close = swfdec_gtk_loader_close; g_thread_init (NULL); klass->session = soup_session_async_new (); diff-tree 58b73bfa1e54bd95744e89e7f9fc6902ab1a48d3 (from 36cb0e40b75982fd64589be06bdeebbf4957817e) Author: Benjamin Otte <otte at gnome.org> Date: Wed Aug 8 10:59:00 2007 +0200 make the closing code more strict diff --git a/lib...
2016 May 30
4
[PATCH v2 0/3] p2v: Allow virt-p2v to be built with Gtk 2 or 3.
This is basically the same as what I posted earlier today. The main difference is I split out the GDK thread sychronization (removal of) changes from the other Gtk 2/3 changes, which should make it a bit easier to review. Gtk 3 is still not quite perfect. Apart from the problem with the GtkTextView noted before, there are also vertical alignment and padding problems with labels in GtkGrid
2007 Nov 28
0
7 commits - configure.ac libswfdec/swfdec_movie.c libswfdec/swfdec_movie.h libswfdec/swfdec_sprite_movie.c test/trace
...ace.c b/test/trace/trace.c index 55276d7..40f96af 100644 --- a/test/trace/trace.c +++ b/test/trace/trace.c @@ -211,6 +211,7 @@ main (int argc, char **argv) GThreadPool *pool; GError *error = NULL; + g_log_set_always_fatal (G_LOG_LEVEL_ERROR | G_LOG_LEVEL_CRITICAL | G_LOG_LEVEL_WARNING); g_thread_init (NULL); /* by default get rid of the loads of warnings the tests produce */ g_setenv ("SWFDEC_DEBUG", "2", FALSE); commit 6c5f74ac52e60d861bd7bba83efc4eda2607a17e Author: Benjamin Otte <otte at gnome.org> Date: Tue Nov 27 11:33:25 2007 +0100 make swfdec_movie_...
2016 May 30
2
[PATCH 0/2] p2v: Allow virt-p2v to be built with Gtk 2 or 3.
... and a small initial patch which makes it easier to test virt-p2v without having to start up a virtual machine. There is still a bug in Gtk 3 where the GtkTextView on the final (running) dialog ignores gtk_widget_set_size_request and so the window appears just a single pixel high. Rich.
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
..._gtk_loader_class_init (SwfdecGtkL GObjectClass *object_class = G_OBJECT_CLASS (klass); SwfdecLoaderClass *loader_class = SWFDEC_LOADER_CLASS (klass); - gnome_vfs_init (); - object_class->dispose = swfdec_gtk_loader_dispose; loader_class->load = swfdec_gtk_loader_load; + + g_thread_init (NULL); + klass->session = soup_session_async_new (); } static void @@ -210,13 +159,10 @@ swfdec_gtk_loader_init (SwfdecGtkLoader * swfdec_gtk_loader_new: * @uri: The location of the file to open * - * Creates a new loader for the given URI using gnome-vfs (or using the local - * fil...
2007 Nov 15
2
Changes to 'refs/tags/0.5.4'
Tag '0.5.4' created by Benjamin Otte <otte at gnome.org> at 2007-11-15 10:12 -0800 release 0.5.4 ("Turkish Cycling Federation") -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQBHPBurvMv5VCdLq8QRAj1KAJ40NHRRS3gKyJjSjyyoH7gDaGi/tQCeOha/ R5PF4bZQqmSdJ64t8EbD4cA= =8qBy -----END PGP SIGNATURE----- Changes since the dawn of time: Benjamin Otte (40):
2008 Jan 08
0
4 commits - configure.ac test/compiler.c test/.gitignore test/Makefile.am test/swfdec_test.c test/swfdec_test_function.c test/swfdec_test_function.h test/swfdec_test_global.c test/swfdec_test_initialize.as test/swfdec_test_initialize.h
...}; GOptionContext *ctx; + /* set the right warning levels */ + g_log_set_always_fatal (G_LOG_LEVEL_ERROR | G_LOG_LEVEL_CRITICAL | G_LOG_LEVEL_WARNING); + /* by default get rid of the loads of warnings the tests produce */ + g_setenv ("SWFDEC_DEBUG", "2", FALSE); + + g_thread_init (NULL); + swfdec_init (); + ctx = g_option_context_new (""); g_option_context_add_main_entries (ctx, options, "options"); g_option_context_parse (ctx, &argc, &argv, &error); @@ -95,12 +103,6 @@ main (int argc, char **argv) return EXIT_FAILURE; } -...
2007 Jul 02
0
Branch 'as' - 24 commits - configure.ac doc/Makefile.am doc/swfdec-sections.txt libswfdec/Makefile.am libswfdec/swfdec_amf.c libswfdec/swfdec_as_array.c libswfdec/swfdec_as_context.c libswfdec/swfdec_as_context.h libswfdec/swfdec_as_frame.c
...d_signal (test->cond); + g_mutex_unlock (test->mutex); + } } int main (int argc, char **argv) { GList *walk, *tests = NULL; - GString *failed_tests = g_string_new (""); + GString *failed_tests; guint failures = 0; + GThreadPool *pool; + GError *error = NULL; + g_thread_init (NULL); swfdec_init (); + failed_tests = g_string_new (""); /* collect all tests into the tests list */ if (argc > 1) { @@ -219,18 +232,63 @@ main (int argc, char **argv) tests = g_list_sort (tests, test_compare); /* run them and put failed ones in failed_tests */ -...
2008 Jan 08
0
9 commits - configure.ac test/custom test/Makefile.am test/swfdec_test_initialize.as test/swfdec_test_initialize.h test/swfdec_test_test.c test/trace
...ex_unlock (test->mutex); - } -} - -int -main (int argc, char **argv) -{ - GList *walk, *tests = NULL; - GString *failed_tests; - guint failures = 0; - GThreadPool *pool; - GError *error = NULL; - - g_log_set_always_fatal (G_LOG_LEVEL_ERROR | G_LOG_LEVEL_CRITICAL | G_LOG_LEVEL_WARNING); - g_thread_init (NULL); - /* by default get rid of the loads of warnings the tests produce */ - g_setenv ("SWFDEC_DEBUG", "2", FALSE); - swfdec_init (); - failed_tests = g_string_new (""); - - /* collect all tests into the tests list */ - if (argc > 1) { - int i; - for...