Commit a654ad93 authored by Johannes Schmid's avatar Johannes Schmid

glade-signal(-class): Const fixes

parent 25ee5894
......@@ -93,7 +93,7 @@ glade_signal_class_update_from_node (GladeSignalClass *signal_class,
}
GladeWidgetAdaptor *
glade_signal_class_get_adaptor (GladeSignalClass *signal_class)
glade_signal_class_get_adaptor (const GladeSignalClass *signal_class)
{
g_return_val_if_fail (signal_class != NULL, NULL);
......@@ -101,7 +101,7 @@ glade_signal_class_get_adaptor (GladeSignalClass *signal_class)
}
G_CONST_RETURN gchar *
glade_signal_class_get_name (GladeSignalClass *signal_class)
glade_signal_class_get_name (const GladeSignalClass *signal_class)
{
g_return_val_if_fail (signal_class != NULL, NULL);
......@@ -109,7 +109,7 @@ glade_signal_class_get_name (GladeSignalClass *signal_class)
}
G_CONST_RETURN gchar *
glade_signal_class_get_type (GladeSignalClass *signal_class)
glade_signal_class_get_type (const GladeSignalClass *signal_class)
{
g_return_val_if_fail (signal_class != NULL, NULL);
......@@ -117,7 +117,7 @@ glade_signal_class_get_type (GladeSignalClass *signal_class)
}
GSignalFlags
glade_signal_class_get_flags (GladeSignalClass *signal_class)
glade_signal_class_get_flags (const GladeSignalClass *signal_class)
{
g_return_val_if_fail (signal_class != NULL, 0);
......
......@@ -55,10 +55,10 @@ void glade_signal_class_update_from_node (GladeSignalCl
GladeXmlNode *node,
const gchar *domain);
GladeWidgetAdaptor *glade_signal_class_get_adaptor (GladeSignalClass *signal_class);
G_CONST_RETURN gchar *glade_signal_class_get_name (GladeSignalClass *signal_class);
G_CONST_RETURN gchar *glade_signal_class_get_type (GladeSignalClass *signal_class);
GSignalFlags glade_signal_class_get_flags (GladeSignalClass *signal_class);
GladeWidgetAdaptor *glade_signal_class_get_adaptor (const GladeSignalClass *signal_class);
G_CONST_RETURN gchar *glade_signal_class_get_name (const GladeSignalClass *signal_class);
G_CONST_RETURN gchar *glade_signal_class_get_type (const GladeSignalClass *signal_class);
GSignalFlags glade_signal_class_get_flags (const GladeSignalClass *signal_class);
void glade_signal_class_set_since (GladeSignalClass *signal_class,
guint16 since_major,
......
......@@ -425,7 +425,7 @@ glade_signal_set_handler (GladeSignal *signal,
}
G_CONST_RETURN gchar *
glade_signal_get_handler (GladeSignal *signal)
glade_signal_get_handler (const GladeSignal *signal)
{
g_return_val_if_fail (GLADE_IS_SIGNAL (signal), NULL);
......@@ -449,7 +449,7 @@ glade_signal_set_userdata (GladeSignal *signal,
}
G_CONST_RETURN gchar *
glade_signal_get_userdata (GladeSignal *signal)
glade_signal_get_userdata (const GladeSignal *signal)
{
g_return_val_if_fail (GLADE_IS_SIGNAL (signal), NULL);
......@@ -471,7 +471,7 @@ glade_signal_set_after (GladeSignal *signal,
}
gboolean
glade_signal_get_after (GladeSignal *signal)
glade_signal_get_after (const GladeSignal *signal)
{
g_return_val_if_fail (GLADE_IS_SIGNAL (signal), FALSE);
......@@ -493,7 +493,7 @@ glade_signal_set_swapped (GladeSignal *signal,
}
gboolean
glade_signal_get_swapped (GladeSignal *signal)
glade_signal_get_swapped (const GladeSignal *signal)
{
g_return_val_if_fail (GLADE_IS_SIGNAL (signal), FALSE);
......@@ -517,7 +517,7 @@ glade_signal_set_support_warning (GladeSignal *signal,
}
G_CONST_RETURN gchar *
glade_signal_get_support_warning (GladeSignal *signal)
glade_signal_get_support_warning (const GladeSignal *signal)
{
g_return_val_if_fail (GLADE_IS_SIGNAL (signal), NULL);
......
......@@ -52,19 +52,19 @@ void glade_signal_set_name (GladeSignal *sign
G_CONST_RETURN gchar *glade_signal_get_name (const GladeSignal *signal);
void glade_signal_set_handler (GladeSignal *signal,
const gchar *handler);
G_CONST_RETURN gchar *glade_signal_get_handler (GladeSignal *signal);
G_CONST_RETURN gchar *glade_signal_get_handler (const GladeSignal *signal);
void glade_signal_set_userdata (GladeSignal *signal,
const gchar *userdata);
G_CONST_RETURN gchar *glade_signal_get_userdata (GladeSignal *signal);
G_CONST_RETURN gchar *glade_signal_get_userdata (const GladeSignal *signal);
void glade_signal_set_after (GladeSignal *signal,
gboolean after);
gboolean glade_signal_get_after (GladeSignal *signal);
gboolean glade_signal_get_after (const GladeSignal *signal);
void glade_signal_set_swapped (GladeSignal *signal,
gboolean swapped);
gboolean glade_signal_get_swapped (GladeSignal *signal);
gboolean glade_signal_get_swapped (const GladeSignal *signal);
void glade_signal_set_support_warning (GladeSignal *signal,
const gchar *support_warning);
G_CONST_RETURN gchar *glade_signal_get_support_warning (GladeSignal *signal);
G_CONST_RETURN gchar *glade_signal_get_support_warning (const GladeSignal *signal);
G_END_DECLS
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment