Use appropriate const declaration for static strings

This commit is contained in:
Emmanuele Bassi 2016-10-14 19:33:53 +01:00
parent 68cab95c5d
commit 137e1aa988

View File

@ -801,7 +801,7 @@ state_event_watcher (GSignalInvocationHint *hint,
AtkObject *atk_obj; AtkObject *atk_obj;
AtkObject *parent; AtkObject *parent;
GdkEventWindowState *event; GdkEventWindowState *event;
gchar *signal_name; const char *signal_name;
object = g_value_get_object (param_values + 0); object = g_value_get_object (param_values + 0);
if (!GTK_IS_WINDOW (object)) if (!GTK_IS_WINDOW (object))
@ -846,7 +846,7 @@ configure_event_watcher (GSignalInvocationHint *hint,
AtkObject *atk_obj; AtkObject *atk_obj;
AtkObject *parent; AtkObject *parent;
GdkEvent *event; GdkEvent *event;
gchar *signal_name; const char *signal_name;
object = g_value_get_object (param_values + 0); object = g_value_get_object (param_values + 0);
if (!GTK_IS_WINDOW (object)) if (!GTK_IS_WINDOW (object))