diff options
author | Ted Gould <ted@gould.cx> | 2011-02-22 12:22:53 -0600 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2011-02-22 12:22:53 -0600 |
commit | 3786fda6e30b90f71e55cb325a342a019a548007 (patch) | |
tree | 7db3e905ba1b804fa786daa140742207725c7631 /libdbusmenu-glib | |
parent | d5b20b1b8f51a56c05a20aa58e54d6d231f30729 (diff) | |
download | libdbusmenu-3786fda6e30b90f71e55cb325a342a019a548007.tar.gz libdbusmenu-3786fda6e30b90f71e55cb325a342a019a548007.tar.bz2 libdbusmenu-3786fda6e30b90f71e55cb325a342a019a548007.zip |
Adding some documentation
Diffstat (limited to 'libdbusmenu-glib')
-rw-r--r-- | libdbusmenu-glib/server.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/libdbusmenu-glib/server.c b/libdbusmenu-glib/server.c index 259167b..8d55cea 100644 --- a/libdbusmenu-glib/server.c +++ b/libdbusmenu-glib/server.c @@ -1686,6 +1686,16 @@ dbusmenu_server_set_status (DbusmenuServer * server, DbusmenuStatus status) return; } +/** + dbusmenu_server_get_icon_paths: + @server: The #DbusmenuServer to get the icon paths from + + Gets the stored and exported icon paths from the server. + + Return value: A NULL-terminated list of icon paths with + memory managed by the server. Duplicate if you want + to keep them. +*/ const GStrv dbusmenu_server_get_icon_paths (DbusmenuServer * server) { @@ -1693,6 +1703,13 @@ dbusmenu_server_get_icon_paths (DbusmenuServer * server) return NULL; } +/** + dbusmenu_server_set_icon_paths: + @server: The #DbusmenuServer to set the icon paths on + + Sets the icon paths for the server. This will replace previously + set icon theme paths. +*/ void dbusmenu_server_set_icon_paths (DbusmenuServer * server, GStrv icon_paths) { |