search for: g_object_get

Displaying 11 results from an estimated 11 matches for "g_object_get".

2007 Dec 03
0
libswfdec-gtk/swfdec_gtk_loader.c
...r *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_GET_CLASS (gtk); + + soup_session_cancel_message (klass->session, gtk->message); + g_object_unref (gtk->message); + gtk->message = NULL; + } } } #end...
2006 Nov 12
0
[ wxruby-Bugs-6633 ] Serious (but harmless?) GTK warnings on Linux
...e_init() prior to this function (process:11017): GLib-GObject-CRITICAL **: g_object_new: assertion `G_TYPE_IS_OBJECT (object_type)'' failed (process:11017): GLib-GObject-CRITICAL **: g_object_ref: assertion `G_IS_OBJECT (object)'' failed (process:11017): GLib-GObject-CRITICAL **: g_object_get: assertion `G_IS_OBJECT (object)'' failed (process:11017): GLib-GObject-CRITICAL **: gtype.c:2240: initialization assertion failed, use IA__g_type_init() prior to this function (process:11017): GLib-GObject-CRITICAL **: gtype.c:2240: initialization assertion failed, use IA__g_type_init()...
2007 Jan 03
12
instalation problem
Hi Im testing wxRuby. I have a problem when ruby try to load the load wx. Im newbie to ruby, maybe a make a simple mistake : Best regards. Install wxRuby-------------------------------------------------------------- pedro@la-vaca-azul:~$ sudo gem install wxruby2-preview Need to update 2 gems from http://gems.rubyforge.org .. complete Select which gem to install for your platform (i486-linux)
2018 May 10
2
[PATCH libldm v3 0/2] Make libldm to parse and return volume GUID.
v2: wrap commit message, "PATCH libldm" prefix. v3: correctly initialize and free GLib resources. The result of this patch might be used by libguestfs to return drive mappings for LDM volumes. Note, that "show volume" ldmtool command already returns hint which is a drive letter assigned by Windows to corresponding volume. But it is not reliable source of information. More
2007 Apr 18
0
6 commits - libswfdec-gtk/swfdec_gtk_widget.c libswfdec/jpeg libswfdec/swfdec_image.c
...get.c index dcd39a0..ec0244e 100644 --- a/libswfdec-gtk/swfdec_gtk_widget.c +++ b/libswfdec-gtk/swfdec_gtk_widget.c @@ -323,9 +323,9 @@ swfdec_gtk_widget_update_cursor (SwfdecG if (window == NULL) return; if (priv->interactive) - swfcursor = SWFDEC_MOUSE_CURSOR_NORMAL; - else g_object_get (priv->player, "mouse-cursor", &swfcursor, NULL); + else + swfcursor = SWFDEC_MOUSE_CURSOR_NORMAL; switch (swfcursor) { case SWFDEC_MOUSE_CURSOR_NONE:
2018 May 14
3
[PATCH libldm v4 0/3] Make libldm to parse and return volume GUID.
v2: wrap commit message, "PATCH libldm" prefix. v3: correctly initialize and free GLib resources. v4: gtk-doc is updated to reflect presence of new volume GUID field. The result of this patch might be used by libguestfs to return drive mappings for LDM volumes. Note, that "show volume" ldmtool command already returns hint which is a drive letter assigned by Windows to
2007 May 28
0
[ wxruby-Bugs-11183 ] GLib errors cause crash
...e_init() prior to this function (process:26965): GLib-GObject-CRITICAL **: g_object_new: assertion `G_TYPE_IS_OBJECT (object_type)'' failed (process:26965): GLib-GObject-CRITICAL **: g_object_ref: assertion `G_IS_OBJECT (object)'' failed (process:26965): GLib-GObject-CRITICAL **: g_object_get: assertion `G_IS_OBJECT (object)'' failed (process:26965): GLib-GObject-CRITICAL **: gtype.c:2242: initialization assertion failed, use IA__g_type_init() prior to this function (process:26965): GLib-GObject-CRITICAL **: gtype.c:2242: initialization assertion failed, use IA__g_type_init()...
2007 Mar 27
0
15 commits - configure.ac doc/Makefile.am doc/swfdec-docs.sgml doc/swfdec-sections.txt doc/swfdec.types libswfdec-gtk/.gitignore libswfdec-gtk/Makefile.am libswfdec-gtk/swfdec-gtk.h libswfdec-gtk/swfdec_gtk_player.c libswfdec-gtk/swfdec_gtk_player.h
...c_gtk_widget_set_scale (widget, g_value_get_double (value)); + break; case PROP_INTERACTIVE: swfdec_gtk_widget_set_interactive (widget, g_value_get_boolean (value)); break; @@ -291,7 +322,10 @@ swfdec_gtk_widget_update_cursor (SwfdecG if (window == NULL) return; - g_object_get (priv->player, "mouse-cursor", &swfcursor, NULL); + if (priv->interactive) + swfcursor = SWFDEC_MOUSE_CURSOR_NORMAL; + else + g_object_get (priv->player, "mouse-cursor", &swfcursor, NULL); switch (swfcursor) { case SWFDEC_MOUSE_CURSOR_NONE: @@...
2018 May 15
12
[PATCH libldm 00/12] New API: an ability to retrieve created device-mapper devices back after they have been created.
The main goal of these patch series is to implement a new API that allows to retrieve created device-mapper devices for volumes and partitions back after they have been created. As part of this patch: - required libdevmapper version was bumped to 1.02. I think it is safe because it was released more then 10 years ago; - newer version of libdevmapper allowed to simplify code base a little bit; -
2007 Aug 01
0
9 commits - doc/swfdec-sections.txt libswfdec/swfdec_as_frame.c libswfdec/swfdec_loader.c libswfdec/swfdec_loader.h libswfdec/swfdec_loader_internal.h libswfdec/swfdec_loadertarget.c libswfdec/swfdec_loadertarget.h libswfdec/swfdec_movie.c
...er_error (SWFDEC_LOADER (slow), slow->loader->error); slow->timeout_id = 0; return FALSE; - } else if (slow->loader->eof) { - swfdec_loader_eof (SWFDEC_LOADER (slow)); - slow->timeout_id = 0; - return FALSE; } else { - return TRUE; + gboolean eof; + g_object_get (slow->loader, "eof", &eof, NULL); + if (eof) { + swfdec_loader_eof (SWFDEC_LOADER (slow)); + slow->timeout_id = 0; + return FALSE; + } else { + return TRUE; + } } } @@ -103,6 +107,7 @@ swfdec_slow_loader_initialize (SwfdecSlo if (size)...
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
...ocket_ensure_closed (SwfdecXmlSocket *xml) g_object_unref (xml->socket); xml->socket = NULL; - swfdec_player_unroot_object (SWFDEC_PLAYER (SWFDEC_AS_OBJECT (xml)->context), G_OBJECT (xml)); + swfdec_player_unroot (SWFDEC_PLAYER (SWFDEC_AS_OBJECT (xml)->context), xml); cur = g_object_get_qdata (G_OBJECT (xml->target), xml_socket_quark); if (cur != xml) g_object_set_qdata (G_OBJECT (xml->target), xml_socket_quark, cur); @@ -201,7 +201,7 @@ swfdec_xml_socket_create (SwfdecAsObject *target, const char *hostname, guint po xml = g_object_new (SWFDEC_TYPE_XML_SOCKET, N...