I have recently started creating a GLib implementation of the Matrix.org API. For that, I have created a GObject interface, MatrixAPI, which has as many virtual functions as API calls (which is a lot, and expanding). This way I ended up with the following scenario.
Articles under this tag
In this post I said I will get through the GLib Makefiles to add an enum type to GLib in a more sophisticated way.
I faced a problem in my GLib self-teaching
project, wMUD today. I wanted to
register a signal for a
GObject, whose handler should accept two
parameters for which I had to register a new
GEnum type in the
system. However, the documentation on this
(thanks for pointing out goes to hashem on
#gnome-hackers) is not… uhm…
obvious. Making the long story short, I have checked with the
GIO sources for
an example, and using that, I have created this small, working chunk:
Gergely Polonkai is a systems engineer of a telco company, and also a freelancer self- and software developer.
He is learning about different IT subjects since the late 1990s. These include web development, application building, systems engineering, IT security and many others. He also dug his nose deeply into free software, dealing with different types of Linux and its applications, while also writing and contributing to some open source projects.
On this site he is writing posts about different stuff he faces during work (oh my, yet another IT solutions blog), hoping they can help others with their job, or just to get along with their brand new netbook that shipped with Linux.
“I believe one can only achieve success if they follow their own instincts and listen to, but not bend under others’ opinions. If you change your course just because someone says so, you are following their instincts, not yours.”