8

I want to study how its GFileInfo components works.

3 Answers 3

4

Where did you get libgio.so? On most Linux distributions, there's an automatic way of retrieving the source code of a package.

For example, on Debian, Ubuntu and derived distributions, run dpkg -S to see what package libgio.so belongs to, then apt-get source to get the source code of that package. Example ($ represents my shell prompt; on my system, the gio library is in a file called libgio-2.0.so):

$ dpkg -S libgio-2.0.so
libglib2.0-dev: /usr/lib/libgio-2.0.so
libglib2.0-0: /usr/lib/libgio-2.0.so.0
$ apt-get source libglib2.0-0
1
  • 1
    Right, but you need the corresponding deb-src lines in /etc/apt/sources.list for that to work. Commented Mar 31, 2011 at 22:32
4

The glib git repository.

     

1
2

GIO is part of GLib, so just download the latest GLib. The GTK+ project always has a link because it's a dependency of GTK.

http://www.gtk.org/download/linux.php

There's also gio-standalone: http://ftp.acc.umu.se/pub/gnome/sources/gio-standalone/

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.