aboutsummaryrefslogtreecommitdiffstats
path: root/gtk
diff options
context:
space:
mode:
authorJeff Morriss <jeff.morriss@ulticom.com>2007-01-16 17:40:00 +0000
committerJeff Morriss <jeff.morriss@ulticom.com>2007-01-16 17:40:00 +0000
commita5017f043ff770b8b30ac9ed81632ead1f3a0ca9 (patch)
treea1724a6c9db4f8255bb1169bda85764373601087 /gtk
parent3e2faba8b40d1e7955e33366fcb614aa67ad44e8 (diff)
Should have done this in the last checkin: wrap help_topic_html() in #ifdef(GLIB2) as it's only used (and only works) there
svn path=/trunk/; revision=20454
Diffstat (limited to 'gtk')
-rw-r--r--gtk/help_dlg.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/help_dlg.c b/gtk/help_dlg.c
index b9f57d6072..1de331e497 100644
--- a/gtk/help_dlg.c
+++ b/gtk/help_dlg.c
@@ -227,6 +227,7 @@ gboolean topic_available(topic_action_e action) {
}
+#if (GLIB_MAJOR_VERSION >= 2)
/*
* Open the help dialog and show a specific HTML help page.
*/
@@ -264,6 +265,7 @@ static void help_topic_html(const gchar *topic) {
g_string_free(url, TRUE /* free_segment */);
}
+#endif
/*