search for: g_type_non

Displaying 20 results from an estimated 23 matches for "g_type_non".

Did you mean: g_type_none
2007 Jun 15
0
Branch 'as' - 4 commits - libswfdec/swfdec_movie.c libswfdec/swfdec_player.c libswfdec/swfdec_sprite.c test/trace
...c/swfdec_player.c +++ b/libswfdec/swfdec_player.c @@ -293,6 +293,7 @@ enum { AUDIO_ADDED, AUDIO_REMOVED, LAUNCH, + FSCOMMAND, LAST_SIGNAL }; @@ -887,6 +888,36 @@ swfdec_player_class_init (SwfdecPlayerCl G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__OBJECT, G_TYPE_NONE, 1, SWFDEC_TYPE_AUDIO); /** + * SwfdecPlayer::fscommand: + * @player: the #SwfdecPlayer affected + * @command: the command to execute + * @paramter: parameter to pass to the command. The parameter depends on the + * function. + * + * This signal is emited whenever a Fl...
2007 Oct 18
0
loadMovie ...uff uff
Hi list! I am tring to load a file swf into a movieclip in FLASH but....swfdec emit a signals that it is the following: signals[LAUNCH] = g_signal_new ("launch", G_TYPE_FROM_CLASS (klass), G_SIGNAL_RUN_LAST, 0, NULL, NULL, swfdec_marshal_VOID__STRING_STRING, G_TYPE_NONE, 2, G_TYPE_STRING, G_TYPE_STRING); It is no connect anuwhere!!!! So...how can I do? Someboy can help me? Bye! Wolf PS sorry fo my bad english....^^' --------------------------------- --------------------------------- L'email della prossima generazione? Puoi averla con la nuova Y...
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
...POINTER; + case SWFDEC_DEBUG_MOVIES_COLUMN_NAME: + return G_TYPE_STRING; + case SWFDEC_DEBUG_MOVIES_COLUMN_VISIBLE: + return G_TYPE_BOOLEAN; + case SWFDEC_DEBUG_MOVIES_COLUMN_TYPE: + return G_TYPE_STRING; + default: + break; + } + g_assert_not_reached (); + return G_TYPE_NONE; +} + +static gboolean +swfdec_debug_movies_get_iter (GtkTreeModel *tree_model, GtkTreeIter *iter, GtkTreePath *path) +{ + SwfdecDebugMovies *movies = SWFDEC_DEBUG_MOVIES (tree_model); + guint depth; + int *indices; + GList *walk; + SwfdecMovie *movie; + + REPORT; + depth = gtk_tree_path_ge...
2007 May 20
0
Branch 'as' - libswfdec/swfdec_as_context.c libswfdec/swfdec_as_context.h libswfdec/swfdec_as_interpret.c libswfdec/swfdec_player.c
...liseconds */ + g_time_val_add (tv, SWFDEC_TICKS_TO_MSECS (SWFDEC_PLAYER (context)->time) * 1000); +} + +static void swfdec_player_class_init (SwfdecPlayerClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); @@ -897,6 +906,7 @@ swfdec_player_class_init (SwfdecPlayerCl G_TYPE_NONE, 2, G_TYPE_STRING, G_TYPE_STRING); context_class->mark = swfdec_player_mark; + context_class->get_time = swfdec_player_get_time; klass->advance = swfdec_player_do_advance; klass->handle_mouse = swfdec_player_do_handle_mouse;
2007 Aug 17
0
Branch 'vivi' - 3 commits - player/Makefile.am player/swfdec_debug_movies.c player/swfdec_debug_movies.h vivified/core vivified/ui
..._TYPE_POINTER; - case SWFDEC_DEBUG_MOVIES_COLUMN_NAME: - return G_TYPE_STRING; - case SWFDEC_DEBUG_MOVIES_COLUMN_DEPTH: - return G_TYPE_INT; - case SWFDEC_DEBUG_MOVIES_COLUMN_TYPE: - return G_TYPE_STRING; - default: - break; - } - g_assert_not_reached (); - return G_TYPE_NONE; -} - -static gboolean -swfdec_debug_movies_get_iter (GtkTreeModel *tree_model, GtkTreeIter *iter, GtkTreePath *path) -{ - SwfdecDebugMovies *movies = SWFDEC_DEBUG_MOVIES (tree_model); - GNode *node; - guint i, depth; - int *indices; - - REPORT; - depth = gtk_tree_path_get_depth (path); - i...
2007 Aug 26
0
9 commits - libswfdec-gtk/swfdec_source.c libswfdec/swfdec_marshal.list libswfdec/swfdec_player.c libswfdec/swfdec_player.h libswfdec/swfdec_player_internal.h libswfdec/swfdec_sprite_movie.c libswfdec/swfdec_swf_instance.c test/dump.c test/Makefile.am
...AM_READABLE)); @@ -1321,8 +1331,8 @@ swfdec_player_class_init (SwfdecPlayerCl */ signals[ADVANCE] = g_signal_new ("advance", G_TYPE_FROM_CLASS (klass), G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (SwfdecPlayerClass, advance), - NULL, NULL, swfdec_marshal_VOID__UINT_UINT, - G_TYPE_NONE, 2, G_TYPE_UINT, G_TYPE_UINT); + NULL, NULL, swfdec_marshal_VOID__ULONG_UINT, + G_TYPE_NONE, 2, G_TYPE_ULONG, G_TYPE_UINT); /** * SwfdecPlayer::handle-key: * @player: the #SwfdecPlayer affected @@ -1601,7 +1611,7 @@ swfdec_player_initialize (SwfdecPlayer * player->intern...
2007 Aug 13
0
Branch 'vivi' - 2 commits - vivified/core
..._OBJECT (&val, obj); + swfdec_as_object_set_variable (cx->global, + swfdec_as_context_get_string (cx, "Native"), &val); + + for (i = 0; functions[i].name; i++) { + swfdec_as_object_add_function (obj, + swfdec_as_context_get_string (cx, functions[i].name), + G_TYPE_NONE, functions[i].fun, 0); + } +} + diff --git a/vivified/core/vivi_function.h b/vivified/core/vivi_function.h new file mode 100644 index 0000000..2642579 --- /dev/null +++ b/vivified/core/vivi_function.h @@ -0,0 +1,36 @@ +/* Vivified + * Copyright (C) 2007 Benjamin Otte <otte at gnome.org> + *...
2012 Apr 26
3
[PATCH 1/3] gobject: NFC generated code formatting fix
--- generator/generator_gobject.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generator/generator_gobject.ml b/generator/generator_gobject.ml index e4c175b..48ddbf0 100644 --- a/generator/generator_gobject.ml +++ b/generator/generator_gobject.ml @@ -391,7 +391,7 @@ let generate_gobject_optargs_source name optargs flags () = pr "G_DEFINE_TYPE(%s, guestfs_%s,
2007 Jan 26
0
Branch 'interpreter' - 9 commits - libswfdec/js libswfdec/Makefile.am libswfdec/swfdec_debugger.c libswfdec/swfdec_debugger.h libswfdec/swfdec_edittext_movie.c libswfdec/swfdec_event.c libswfdec/swfdec_js.c libswfdec/swfdec_js_global.c
...ayer_manager.c +++ b/player/swfdec_player_manager.c @@ -137,7 +137,7 @@ swfdec_player_manager_class_init (Swfdec signals[MESSAGE] = g_signal_new ("message", G_TYPE_FROM_CLASS (g_class), G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__UINT_POINTER, /* FIXME */ - G_TYPE_NONE, 2, G_TYPE_UINT, G_TYPE_STRING); + G_TYPE_NONE, 2, G_TYPE_UINT, G_TYPE_POINTER); } static void @@ -458,7 +458,7 @@ command_break (SwfdecPlayerManager *mana guint id = swfdec_debugger_set_breakpoint (SWFDEC_DEBUGGER (manager->player), manager->interrupt_script, line); swfde...
2007 Aug 05
0
7 commits - doc/swfdec-sections.txt libswfdec/Makefile.am libswfdec/swfdec_as_object.c libswfdec/swfdec.h libswfdec/swfdec_key.h libswfdec/swfdec_marshal.list libswfdec/swfdec_player.c libswfdec/swfdec_player.h libswfdec/swfdec_player_internal.h
...lean down) +{ + g_assert (key < 256); + + return TRUE; +} + +static gboolean swfdec_player_do_handle_mouse (SwfdecPlayer *player, double x, double y, int button) { @@ -1155,13 +1164,31 @@ swfdec_player_class_init (SwfdecPlayerCl NULL, NULL, swfdec_marshal_VOID__UINT_UINT, G_TYPE_NONE, 2, G_TYPE_UINT, G_TYPE_UINT); /** + * SwfdecPlayer::handle-key: + * @player: the #SwfdecPlayer affected + * @key: #SwfdecKey that was pressed or released + * @pressed: %TRUE if the @key was pressed or %FALSE if it was released + * + * This signal is emitted whenever @player should...
2007 Aug 09
0
Branch 'vivi' - 12 commits - libswfdec-gtk/swfdec_gtk_player.c libswfdec-gtk/swfdec_gtk_player.h libswfdec/Makefile.am libswfdec/swfdec_as_array.h libswfdec/swfdec_as_context.c libswfdec/swfdec_as_context.h libswfdec/swfdec_as_debugger.c
...uot;player", "player", "Flash player in use", SWFDEC_TYPE_PLAYER, G_PARAM_READABLE)); + + signals[MESSAGE] = g_signal_new ("message", G_TYPE_FROM_CLASS (klass), + G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__UINT_POINTER, /* FIXME */ + G_TYPE_NONE, 2, G_TYPE_UINT, G_TYPE_POINTER); } static void @@ -104,7 +114,11 @@ vivi_application_init (ViviApplication * ViviApplication * vivi_application_new (void) { - return g_object_new (VIVI_TYPE_APPLICATION, NULL); + ViviApplication *app; + + app = g_object_new (VIVI_TYPE_APPLICATION, NULL);...
2007 Aug 21
0
Branch 'vivi' - 15 commits - configure.ac libswfdec/Makefile.am libswfdec/swfdec_as_context.c libswfdec/swfdec_as_debugger.h libswfdec/swfdec_as_object.c libswfdec/swfdec_movie.c libswfdec/swfdec_script.c libswfdec/swfdec_types.h vivified/core vivified/ui
...NLY)); + VIVI_TYPE_APPLICATION, G_PARAM_READWRITE)); + + signals[APPLICATION_SET] = g_signal_new ("application-set", G_TYPE_FROM_CLASS (klass), + G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (ViviViviDockletClass, application_set), + NULL, NULL, g_cclosure_marshal_VOID__OBJECT, + G_TYPE_NONE, 1, VIVI_TYPE_APPLICATION); + signals[APPLICATION_UNSET] = g_signal_new ("application-unset", G_TYPE_FROM_CLASS (klass), + G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (ViviViviDockletClass, application_unset), + NULL, NULL, g_cclosure_marshal_VOID__OBJECT, + G_TYPE_NONE, 1, VIVI_...
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
...YPE_OBJECT) enum { CHANGED, + NEW_DATA, LAST_SIGNAL }; @@ -92,6 +93,17 @@ swfdec_audio_class_init (SwfdecAudioClass *klass) signals[CHANGED] = g_signal_new ("changed", G_TYPE_FROM_CLASS (klass), G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0); + /** + * SwfdecAudio::new-data: + * @audio: the #SwfdecAudio affected + * + * This signal is emitted whenever new data was loaded into @audio. You want + * to listen to this signal when swfdec_audio_render() previously returned + * less samples than you wanted to render. + */...
2007 Jan 22
0
Branch 'interpreter' - 3 commits - libswfdec/swfdec_bits.c libswfdec/swfdec_swf_decoder.c test/Makefile.am test/swfedit.c test/swfedit_file.c test/swfedit_file.h test/swfedit_tag.c test/swfedit_tag.h test/swfedit_token.c test/swfedit_token.h
...gint index_) +{ + switch (index_) { + case SWFEDIT_COLUMN_NAME: + return G_TYPE_STRING; + case SWFEDIT_COLUMN_VALUE_VISIBLE: + return G_TYPE_BOOLEAN; + case SWFEDIT_COLUMN_VALUE: + return G_TYPE_STRING; + default: + break; + } + g_assert_not_reached (); + return G_TYPE_NONE; +} + +static gboolean +swfedit_token_get_iter (GtkTreeModel *tree_model, GtkTreeIter *iter, GtkTreePath *path) +{ + SwfeditToken *token = SWFEDIT_TOKEN (tree_model); + guint i = gtk_tree_path_get_indices (path)[0]; + Entry *entry; + + if (i > token->tokens->len) + return FALSE;...
2007 Aug 13
0
Branch 'vivi' - 24 commits - configure.ac libswfdec/swfdec_sprite_movie.c libswfdec/swfdec_tag.c libswfdec/swfdec_tag.h vivified/core vivified/dock vivified/ui
...n const char vivi_initialize[]; void vivi_function_init_context (ViviApplication *app) @@ -57,7 +59,8 @@ vivi_function_init_context (ViviApplicat for (i = 0; functions[i].name; i++) { swfdec_as_object_add_function (obj, swfdec_as_context_get_string (cx, functions[i].name), - G_TYPE_NONE, functions[i].fun, 0); + 0, functions[i].fun, 0); } + vivi_application_run (app, vivi_initialize); } diff --git a/vivified/core/vivi_initialize.as b/vivified/core/vivi_initialize.as new file mode 100644 index 0000000..7293fd5 --- /dev/null +++ b/vivified/core/vivi_initialize.as @@ -0,0...
2007 Oct 17
0
28 commits - configure.ac debian/changelog debian/control debian/copyright debian/.gitignore debian/libswfdec0.dirs debian/libswfdec0.files debian/libswfdec0.shlibs debian/libswfdec-dev.dirs debian/libswfdec-dev.files debian/rules debian/swf-player.dirs
...r_class_init (SwfdecPlayerClass *klass) * The effect of calling any swfdec functions on the emitting @player is undefined. */ signals[LAUNCH] = g_signal_new ("launch", G_TYPE_FROM_CLASS (klass), - G_SIGNAL_RUN_LAST, 0, NULL, NULL, swfdec_marshal_VOID__STRING_STRING, - G_TYPE_NONE, 2, G_TYPE_STRING, G_TYPE_STRING); + G_SIGNAL_RUN_LAST, 0, NULL, NULL, swfdec_marshal_VOID__ENUM_STRING_STRING_BOXED, + G_TYPE_NONE, 4, SWFDEC_TYPE_LOADER_REQUEST, G_TYPE_STRING, G_TYPE_STRING, + SWFDEC_TYPE_BUFFER); context_class->mark = swfdec_player_mark; context_clas...
2006 Nov 17
1
gjournal on 6.x wont build
Hi all, I was intending on trying out gjournal on a new disk i've added in my desktop. I had a look to see what the most recent patch provided by Pawel and found http://people.freebsd.org/~pjd/patches/gjournal6_20061024.patch I created the directories as per Pawel's original post (http://lists.freebsd.org/pipermail/freebsd-fs/2006-June/001962.html) and the patch succeeded with no failed
2007 Aug 22
0
163 commits - autogen.sh configure.ac doc/swfdec-sections.txt libswfdec-gtk/swfdec_gtk_player.c libswfdec-gtk/swfdec_gtk_player.h libswfdec-gtk/swfdec_gtk_widget.c libswfdec-gtk/swfdec_source.c libswfdec/Makefile.am libswfdec/swfdec_as_array.c
...NLY)); + VIVI_TYPE_APPLICATION, G_PARAM_READWRITE)); + + signals[APPLICATION_SET] = g_signal_new ("application-set", G_TYPE_FROM_CLASS (klass), + G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (ViviViviDockletClass, application_set), + NULL, NULL, g_cclosure_marshal_VOID__OBJECT, + G_TYPE_NONE, 1, VIVI_TYPE_APPLICATION); + signals[APPLICATION_UNSET] = g_signal_new ("application-unset", G_TYPE_FROM_CLASS (klass), + G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (ViviViviDockletClass, application_unset), + NULL, NULL, g_cclosure_marshal_VOID__OBJECT, + G_TYPE_NONE, 1, VIVI_...
2007 Feb 06
0
Branch 'interpreter' - 8 commits - libswfdec/swfdec_bits.c libswfdec/swfdec_color.c libswfdec/swfdec_color.h libswfdec/swfdec_edittext.c libswfdec/swfdec_image.c libswfdec/swfdec_image.h libswfdec/swfdec_pattern.c libswfdec/swfdec_sprite.c test/dump.c
...ORT; + switch (index_) { + case SWFEDIT_COLUMN_NAME: + return G_TYPE_STRING; + case SWFEDIT_COLUMN_VALUE_VISIBLE: + return G_TYPE_BOOLEAN; + case SWFEDIT_COLUMN_VALUE: + return G_TYPE_STRING; + default: + break; + } + g_assert_not_reached (); + return G_TYPE_NONE; +} + +static gboolean +swfedit_token_get_iter (GtkTreeModel *tree_model, GtkTreeIter *iter, GtkTreePath *path) +{ + SwfeditToken *token = SWFEDIT_TOKEN (tree_model); + guint i = gtk_tree_path_get_indices (path)[0]; + SwfeditTokenEntry *entry; + + REPORT; + if (i > token->t...
2007 Feb 06
0
109 commits - configure.ac libswfdec/js libswfdec/Makefile.am libswfdec/swfdec_bits.c libswfdec/swfdec_bits.h libswfdec/swfdec_buffer.c libswfdec/swfdec_button_movie.c libswfdec/swfdec_codec_screen.c libswfdec/swfdec_color.c libswfdec/swfdec_color.h
...ORT; + switch (index_) { + case SWFEDIT_COLUMN_NAME: + return G_TYPE_STRING; + case SWFEDIT_COLUMN_VALUE_VISIBLE: + return G_TYPE_BOOLEAN; + case SWFEDIT_COLUMN_VALUE: + return G_TYPE_STRING; + default: + break; + } + g_assert_not_reached (); + return G_TYPE_NONE; +} + +static gboolean +swfedit_token_get_iter (GtkTreeModel *tree_model, GtkTreeIter *iter, GtkTreePath *path) +{ + SwfeditToken *token = SWFEDIT_TOKEN (tree_model); + guint i = gtk_tree_path_get_indices (path)[0]; + SwfeditTokenEntry *entry; + + REPORT; + if (i > token->t...