diff options
author | Luis de Bethencourt <luis@debethencourt.com> | 2011-05-23 17:29:06 +0200 |
---|---|---|
committer | Luis de Bethencourt <luis@debethencourt.com> | 2011-05-23 17:29:06 +0200 |
commit | 5e757c64a73fa7371065061249a4bfc4125f8138 (patch) | |
tree | d57c4cbc6508ee956005be392fcae14f982efc0b | |
parent | 40882e030534175d444d1f1499184cc61ba34c77 (diff) |
snappy: init stage to NULL
Make sure stage is NULL to avoid possible pointer error in
interface_load_uri().
-rw-r--r-- | src/snappy.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/snappy.c b/src/snappy.c index 4b56b20..51d185d 100644 --- a/src/snappy.c +++ b/src/snappy.c @@ -164,6 +164,7 @@ main (int argc, char *argv[]) // User Interface ui = g_new (UserInterface, 1); ui->fullscreen = fullscreen; + ui->stage = NULL; video_texture = clutter_texture_new (); clutter_gst_init (&argc, &argv); |