Displaying 5 results from an estimated 5 matches for "g_value_dup_string".
2007 Aug 27
0
7 commits - libswfdec/Makefile.am libswfdec/swfdec_as_string.c libswfdec/swfdec_as_string.h libswfdec/swfdec_as_strings.c libswfdec/swfdec.h libswfdec/swfdec_initialize.as libswfdec/swfdec_initialize.h libswfdec/swfdec_player.c
...@ -190,7 +190,7 @@ swfdec_system_set_property (GObject *obj
system->par = g_value_get_double (value);
break;
case PROP_DPI:
- system->dpi = g_value_get_double (value);
+ system->dpi = g_value_get_uint (value);
break;
case PROP_COLOR_MODE:
s = g_value_dup_string (value);
@@ -249,7 +249,7 @@ swfdec_system_class_init (SwfdecSystemCl
g_param_spec_string ("version", "version", "version string",
"WIN 9.0.100.0", G_PARAM_READWRITE | G_PARAM_CONSTRUCT));
g_object_class_install_property (object_class, PROP_LANG...
2012 Aug 14
7
[PATCH 0/7] Add tar compress, numericowner, excludes flags.
https://bugzilla.redhat.com/show_bug.cgi?id=847880
https://bugzilla.redhat.com/show_bug.cgi?id=847881
This patch series adds various optional arguments to the tar-in and
tar-out commands.
Firstly (1/7) an optional "compress" flag is added to select
compression. This makes the calls tgz-in/tgz-out/txz-in/txz-out
deprecated, and expands the range of compression types available.
2007 Aug 29
0
15 commits - libswfdec/swfdec_as_strings.c libswfdec/swfdec_initialize.as libswfdec/swfdec_initialize.h libswfdec/swfdec_movie.c libswfdec/swfdec_movie.h libswfdec/swfdec_sprite.c libswfdec/swfdec_sprite_movie.c libswfdec/swfdec_system_as.c
...value, system->server_manufacturer);
+ break;
case PROP_OS:
g_value_set_string (value, system->os);
break;
@@ -145,6 +149,13 @@ swfdec_system_set_property (GObject *obj
system->manufacturer = s;
}
break;
+ case PROP_SERVER_MANUFACTURER:
+ s = g_value_dup_string (value);
+ if (s) {
+ g_free (system->server_manufacturer);
+ system->server_manufacturer = s;
+ }
+ break;
case PROP_OS:
s = g_value_dup_string (value);
if (s) {
@@ -211,6 +222,7 @@ swfdec_system_finalize (GObject *object)
SwfdecSystem *system = SWFDEC_SY...
2012 Jan 17
3
GObject bindings
This is the first iteration of the GObject bindings. I have 'kicked the tyres'
on these, meaning I have ensured that a bunch of basic manual tests work as
expected. I'm in the process of adding more comprehensive tests.
Here's an example simple javascript program which uses these bindings:
===
const Guestfs = imports.gi.Guestfs;
print('Starting');
var g = new
2012 Jan 20
11
[PATCH 01/10] Revert "Revert "generator: Add CamelName flag""
This reverts commit 3f6ca541c7b24d4c86688a509582cb41a7e0078c.
The original commit was reverted prematurely.
---
generator/generator_actions.ml | 10 +++++-----
generator/generator_checks.ml | 5 +++++
generator/generator_types.ml | 3 +++
3 files changed, 13 insertions(+), 5 deletions(-)
diff --git a/generator/generator_actions.ml b/generator/generator_actions.ml
index