st: initialize static variables to NULL

https://bugzilla.gnome.org/show_bug.cgi?id=783484
This commit is contained in:
Cosimo Cecchi 2017-06-06 14:27:00 -07:00
parent ce262b36d4
commit d5cac6559d
2 changed files with 3 additions and 3 deletions

View File

@ -718,8 +718,8 @@ st_entry_key_focus_in (ClutterActor *actor)
clutter_actor_grab_key_focus (priv->entry);
}
static StEntryCursorFunc cursor_func;
static gpointer cursor_func_data;
static StEntryCursorFunc cursor_func = NULL;
static gpointer cursor_func_data = NULL;
/**
* st_entry_set_cursor_func: (skip)

View File

@ -202,7 +202,7 @@ st_im_text_get_paint_volume (ClutterActor *self,
return clutter_paint_volume_set_from_allocation (volume, self);
}
static GdkWindow *event_window;
static GdkWindow *event_window = NULL;
void
st_im_text_set_event_window (GdkWindow *window)