gobject floating reference count
- From: Povietkin Konstantin <povetkin k gmail com>
- To: GTKMM-List <gtkmm-list gnome org>
- Subject: gobject floating reference count
- Date: Thu, 03 Feb 2011 22:49:02 +0200
Hi, all!
I have read documentation on GObject floating reference. I understand
why it`s needed and how it works.
Can somebody explain me what shall I do if i want to get reference in
this situation:
void someFunc( GVariant * k )
{
k = some_glib_method( );
}
....
GVariant * ref;
....
someFunc( ref );
ref is null after "someFunc" execution.
--
"No Civilization = Freedom"
------------------------------------------------------------------------
Yes, I am a criminal. My crime is that of curiosity.
My crime is that of judging people by what they say and think, not what
they look like.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]