Commit 65debc57 authored by Guido Gunther's avatar Guido Gunther Committed by Guido Gunther

lockscreen: Ensure types in shell

We use widgets at various places. Make sure we make the types known
in a single location since otherwise there's duplication.
Signed-off-by: Guido Gunther's avatarGuido Günther <guido.gunther@puri.sm>
parent 0eb31b9e
......@@ -13,7 +13,6 @@
#include "auth.h"
#include "bt-info.h"
#include "lockscreen.h"
#include "media-player.h"
#include <locale.h>
#include <string.h>
......@@ -486,9 +485,6 @@ phosh_lockscreen_class_init (PhoshLockscreenClass *klass)
GObjectClass *object_class = (GObjectClass *)klass;
GtkWidgetClass *widget_class = GTK_WIDGET_CLASS (klass);
g_type_ensure (PHOSH_TYPE_BT_INFO);
g_type_ensure (PHOSH_TYPE_MEDIA_PLAYER);
object_class->constructed = phosh_lockscreen_constructed;
object_class->dispose = phosh_lockscreen_dispose;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment