devhelp r1203 - in trunk: . src
- From: rhult svn gnome org
- To: svn-commits-list gnome org
- Subject: devhelp r1203 - in trunk: . src
- Date: Fri, 10 Oct 2008 19:42:59 +0000 (UTC)
Author: rhult
Date: Fri Oct 10 19:42:59 2008
New Revision: 1203
URL: http://svn.gnome.org/viewvc/devhelp?rev=1203&view=rev
Log:
2008-10-10 Richard Hult <richard imendio com>
* src/dh-preferences.c:
* src/dh-preferences.h: Move key name defines from the header to
the C file, they are not used anywhere else now.
Modified:
trunk/ChangeLog
trunk/src/dh-preferences.c
trunk/src/dh-preferences.h
Modified: trunk/src/dh-preferences.c
==============================================================================
--- trunk/src/dh-preferences.c (original)
+++ trunk/src/dh-preferences.c Fri Oct 10 19:42:59 2008
@@ -62,6 +62,13 @@
gchar **fixed);
static gboolean preferences_update_fonts (gpointer unused);
+#define DH_CONF_PATH "/apps/devhelp"
+#define DH_CONF_USE_SYSTEM_FONTS DH_CONF_PATH "/ui/use_system_fonts"
+#define DH_CONF_VARIABLE_FONT DH_CONF_PATH "/ui/variable_font"
+#define DH_CONF_FIXED_FONT DH_CONF_PATH "/ui/fixed_font"
+#define DH_CONF_SYSTEM_VARIABLE_FONT "/desktop/gnome/interface/font_name"
+#define DH_CONF_SYSTEM_FIXED_FONT "/desktop/gnome/interface/monospace_font_name"
+
static DhPreferences *prefs;
static void
Modified: trunk/src/dh-preferences.h
==============================================================================
--- trunk/src/dh-preferences.h (original)
+++ trunk/src/dh-preferences.h Fri Oct 10 19:42:59 2008
@@ -25,13 +25,6 @@
G_BEGIN_DECLS
-#define DH_CONF_PATH "/apps/devhelp"
-#define DH_CONF_USE_SYSTEM_FONTS DH_CONF_PATH "/ui/use_system_fonts"
-#define DH_CONF_VARIABLE_FONT DH_CONF_PATH "/ui/variable_font"
-#define DH_CONF_FIXED_FONT DH_CONF_PATH "/ui/fixed_font"
-#define DH_CONF_SYSTEM_VARIABLE_FONT "/desktop/gnome/interface/font_name"
-#define DH_CONF_SYSTEM_FIXED_FONT "/desktop/gnome/interface/monospace_font_name"
-
void dh_preferences_setup_fonts (void);
void dh_preferences_show_dialog (GtkWindow *parent);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]