diff options
author | Murray Cumming <murrayc@murrayc.com> | 2008-01-10 11:57:26 +0000 |
---|---|---|
committer | Murray Cumming <murrayc@src.gnome.org> | 2008-01-10 11:57:26 +0000 |
commit | 733e609fa9b2054010dd284d330672ccd4c89a8d (patch) | |
tree | 80cef09fa8e83420868dd0f7ce2579d315a50493 /tests/giomm_simple | |
parent | 958a5ef35c8f36bed407c33238df4b2a055a0b52 (diff) | |
download | glibmm-733e609fa9b2054010dd284d330672ccd4c89a8d.tar.gz |
Correct an include.
2008-01-10 Murray Cumming <murrayc@murrayc.com>
* gio/giomm.h: Correct an include.
* gio/src/asyncresult.hg:
* gio/src/cancellable.hg:
* gio/src/drive.hg:
* gio/src/file.hg:
* gio/src/fileattribute.hg:
* gio/src/fileenumerator.hg:
* gio/src/fileicon.hg:
* gio/src/fileinfo.hg:
* gio/src/fileinputstream.hg:
* gio/src/fileoutputstream.hg:
* gio/src/outputstream.hg:
* gio/src/simpleasyncresult.hg:
* gio/src/volume.ccg:
* gio/src/volume.hg: Correct several includes to use giomm/ instead of
glibmm/.
* configure.in:
* examples/Makefile.am_fragment:
* tests/Makefile.am_fragment: Include/Link giomm too.
* tests/Makefile.am:
* tests/giomm_simple/Makefile.am:
* tests/giomm_simple/giomm_simple.cc:
Added a little test, which shows that the library is not being built
properly - we get undefined symbols.
svn path=/trunk/; revision=496
Diffstat (limited to 'tests/giomm_simple')
-rw-r--r-- | tests/giomm_simple/Makefile.am | 7 | ||||
-rw-r--r-- | tests/giomm_simple/giomm_simple.cc | 14 | ||||
-rw-r--r-- | tests/giomm_simple/main.cc | 8 |
3 files changed, 29 insertions, 0 deletions
diff --git a/tests/giomm_simple/Makefile.am b/tests/giomm_simple/Makefile.am new file mode 100644 index 00000000..c1581f16 --- /dev/null +++ b/tests/giomm_simple/Makefile.am @@ -0,0 +1,7 @@ +include $(top_srcdir)/tests/Makefile.am_fragment + +noinst_PROGRAMS = test +test_SOURCES = main.cc giomm_simple.cc + + + diff --git a/tests/giomm_simple/giomm_simple.cc b/tests/giomm_simple/giomm_simple.cc new file mode 100644 index 00000000..1bde8efa --- /dev/null +++ b/tests/giomm_simple/giomm_simple.cc @@ -0,0 +1,14 @@ +#include <giomm.h> +#include <iostream> + + +int main(int argc, char** argv) +{ + Glib::init(); + Gio::init(); + + Glib::RefPtr<Gio::File> file = Gio::File::create_for_path("/home/murrayc/test.txt"); + + return 0; +} + diff --git a/tests/giomm_simple/main.cc b/tests/giomm_simple/main.cc new file mode 100644 index 00000000..1f318f05 --- /dev/null +++ b/tests/giomm_simple/main.cc @@ -0,0 +1,8 @@ + +#include <glibmm.h> + +int main(int, char**) +{ + return 0; +} + |