forked from AuroraMiddleware/gtk
Use appropriate const declaration for static strings
This commit is contained in:
parent
68cab95c5d
commit
137e1aa988
@ -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))
|
||||||
|
Loading…
Reference in New Issue
Block a user