Tizen 2.1 base
[platform/upstream/glib2.0.git] / glib / goption.h
index 557d8f7..7d1f2a1 100644 (file)
@@ -18,7 +18,7 @@
  * Boston, MA 02111-1307, USA.
  */
 
-#if defined(G_DISABLE_SINGLE_INCLUDES) && !defined (__GLIB_H_INSIDE__) && !defined (GLIB_COMPILATION)
+#if !defined (__GLIB_H_INSIDE__) && !defined (GLIB_COMPILATION)
 #error "Only <glib.h> can be included directly."
 #endif
 
@@ -310,10 +310,10 @@ struct _GOptionEntry
 GOptionContext *g_option_context_new              (const gchar         *parameter_string);
 void            g_option_context_set_summary      (GOptionContext      *context,
                                                    const gchar         *summary);
-G_CONST_RETURN gchar *g_option_context_get_summary (GOptionContext     *context);
+const gchar *   g_option_context_get_summary      (GOptionContext     *context);
 void            g_option_context_set_description  (GOptionContext      *context,
                                                    const gchar         *description);
-G_CONST_RETURN gchar *g_option_context_get_description (GOptionContext     *context);
+const gchar *   g_option_context_get_description  (GOptionContext     *context);
 void            g_option_context_free             (GOptionContext      *context);
 void           g_option_context_set_help_enabled (GOptionContext      *context,
                                                   gboolean             help_enabled);