After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 354556 - wrap g_get_user_x_dir() functions
wrap g_get_user_x_dir() functions
Status: RESOLVED FIXED
Product: glibmm
Classification: Bindings
Component: general
2.12.x
Other Linux
: Normal normal
: ---
Assigned To: gtkmm-forge
gtkmm-forge
: 354544 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2006-09-06 02:55 UTC by Jonathon Jongsma
Modified: 2006-09-10 14:41 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch to wrap g_get_user_x_dir() functions (4.95 KB, patch)
2006-09-06 02:56 UTC, Jonathon Jongsma
committed Details | Review

Description Jonathon Jongsma 2006-09-06 02:55:24 UTC
There are a few miscellaneous utility functions in glib that are unwrapped in glibmm, including: g_get_user_data_dir(), g_get_user_config_dir(), and g_get_user_cache_dir().  This patch wraps these in the Glib namespace.  It also changes the reference doc makefile to rebuild the documentation when a header file in glib/glibmm/ is changed, but I can remove this part if desired.

Is it ok at add this API or do we have to branch first?
Comment 1 Jonathon Jongsma 2006-09-06 02:56:18 UTC
Created attachment 72285 [details] [review]
patch to wrap g_get_user_x_dir() functions
Comment 2 Dave Foster 2006-09-06 12:36:12 UTC
*** Bug 354544 has been marked as a duplicate of this bug. ***
Comment 3 Murray Cumming 2006-09-10 11:16:53 UTC
Looks good. Feel free to branch glibmm and commit this to HEAD:

1.
Let's keep an eye on this change, to be sure that it doesn't force a docs rebuild when building from tarballs:
html/index.html: $(doxygen_configfile_source) $(beautify_docs_source) $(top_srcdir)/glib/glibmm/*.h

2.
They would be since 2.14, not since 2.12.
Comment 4 Jonathon Jongsma 2006-09-10 14:26:26 UTC
> 1.
> Let's keep an eye on this change, to be sure that it doesn't force a docs
> rebuild when building from tarballs:
> html/index.html: $(doxygen_configfile_source) $(beautify_docs_source)
> $(top_srcdir)/glib/glibmm/*.h

Ahh, good point.  I hadn't thought of that.

> 2.
> They would be since 2.14, not since 2.12.

I've branched for 2.12.  I'll make that change before committing.
Comment 5 Jonathon Jongsma 2006-09-10 14:41:12 UTC
2006-09-05  Jonathon Jongsma  <jonathon.jongsma@gmail.com>

	* docs/reference/Makefile.am: rebuild docs when a .h files changes in
	glib/glibmm
	* glib/glibmm/miscutils.cc:
	* glib/glibmm/miscutils.h: wrap g_get_user_data_dir(),
	g_get_user_config_dir(), and g_get_user_cache_dir()