diff options
author | Javier Jardón <jjardon@gnome.org> | 2011-10-07 22:13:53 +0100 |
---|---|---|
committer | Javier Jardón <jjardon@gnome.org> | 2011-10-24 17:36:33 +0100 |
commit | 2bbbc8023bf02120f9ef5403c215d18cc88343e1 (patch) | |
tree | c07485a4336e05c8a7c1db60848e01d0f100960a | |
parent | 70503b91b1f1bfae699c49af7e2c8df51e771d11 (diff) | |
download | libgweather-2bbbc8023bf02120f9ef5403c215d18cc88343e1.tar.gz |
gweather-prefs: Move documentation to inline comments
-rw-r--r-- | doc/tmpl/gweather-prefs.sgml | 172 | ||||
-rw-r--r-- | libgweather/gweather-prefs.c | 7 |
2 files changed, 7 insertions, 172 deletions
diff --git a/doc/tmpl/gweather-prefs.sgml b/doc/tmpl/gweather-prefs.sgml deleted file mode 100644 index 162348a..0000000 --- a/doc/tmpl/gweather-prefs.sgml +++ /dev/null @@ -1,172 +0,0 @@ -<!-- ##### SECTION Title ##### --> -gweather-prefs - -<!-- ##### SECTION Short_Description ##### --> - - -<!-- ##### SECTION Long_Description ##### --> -<para> - -</para> - -<!-- ##### SECTION See_Also ##### --> -<para> - -</para> - -<!-- ##### SECTION Stability_Level ##### --> - - -<!-- ##### SECTION Image ##### --> - - -<!-- ##### MACRO GCONF_TEMP_UNIT ##### --> -<para> - -</para> - - - -<!-- ##### MACRO GCONF_SPEED_UNIT ##### --> -<para> - -</para> - - - -<!-- ##### MACRO GCONF_PRESSURE_UNIT ##### --> -<para> - -</para> - - - -<!-- ##### MACRO GCONF_DISTANCE_UNIT ##### --> -<para> - -</para> - - - -<!-- ##### STRUCT GWeatherPrefs ##### --> -<para> - -</para> - -@location: -@update_interval: -@update_enabled: -@detailed: -@radar_enabled: -@use_custom_radar_url: -@radar: -@temperature_unit: -@use_temperature_default: -@speed_unit: -@use_speed_default: -@pressure_unit: -@use_pressure_default: -@distance_unit: -@use_distance_default: - -<!-- ##### FUNCTION gweather_prefs_load ##### --> -<para> - -</para> - -@prefs: -@ctx: - - -<!-- ##### FUNCTION gweather_prefs_temp_enum_to_string ##### --> -<para> - -</para> - -@temp: -@Returns: - - -<!-- ##### FUNCTION gweather_prefs_speed_enum_to_string ##### --> -<para> - -</para> - -@speed: -@Returns: - - -<!-- ##### FUNCTION gweather_prefs_pressure_enum_to_string ##### --> -<para> - -</para> - -@pressure: -@Returns: - - -<!-- ##### FUNCTION gweather_prefs_distance_enum_to_string ##### --> -<para> - -</para> - -@distance: -@Returns: - - -<!-- ##### FUNCTION gweather_prefs_parse_temperature ##### --> -<para> - -</para> - -@str: -@is_default: -@Returns: - - -<!-- ##### FUNCTION gweather_prefs_parse_speed ##### --> -<para> - -</para> - -@str: -@is_default: -@Returns: - - -<!-- ##### FUNCTION gweather_prefs_get_temp_display_name ##### --> -<para> - -</para> - -@temp: -@Returns: - - -<!-- ##### FUNCTION gweather_prefs_get_speed_display_name ##### --> -<para> - -</para> - -@speed: -@Returns: - - -<!-- ##### FUNCTION gweather_prefs_get_pressure_display_name ##### --> -<para> - -</para> - -@pressure: -@Returns: - - -<!-- ##### FUNCTION gweather_prefs_get_distance_display_name ##### --> -<para> - -</para> - -@distance: -@Returns: - - diff --git a/libgweather/gweather-prefs.c b/libgweather/gweather-prefs.c index 43b72ea..1f3b5c3 100644 --- a/libgweather/gweather-prefs.c +++ b/libgweather/gweather-prefs.c @@ -30,6 +30,13 @@ #include "gweather-prefs.h" #include "weather-priv.h" + +/** + * SECTION:gweather-prefs + * @Title: gweather-prefs + */ + + static GConfEnumStringPair temp_unit_enum_map [] = { { TEMP_UNIT_DEFAULT, N_("Default") }, /* translators: Kelvin */ |