diff options
Diffstat (limited to 'player/swfdec-window.c')
-rw-r--r-- | player/swfdec-window.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/player/swfdec-window.c b/player/swfdec-window.c index 2a9dc1b..9ec867a 100644 --- a/player/swfdec-window.c +++ b/player/swfdec-window.c @@ -116,7 +116,7 @@ swfdec_window_new (const char *url) GError *error = NULL; SwfdecWindow *window; - window = g_slice_new0 (SwfdecWindow); + window = g_object_new (SWFDEC_TYPE_WINDOW, NULL); window->builder = gtk_builder_new (); gtk_builder_set_translation_domain (window->builder, GETTEXT_PACKAGE); if (!gtk_builder_add_from_file (window->builder, BUILDER_FILE, &error)) { |