diff --git a/plugins/print-notifications/gsd-print-notifications-manager.c b/plugins/print-notifications/gsd-print-notifications-manager.c
index ba2ba16..95c38c2 100644
--- a/plugins/print-notifications/gsd-print-notifications-manager.c
+++ b/plugins/print-notifications/gsd-print-notifications-manager.c
@@ -374,10 +374,6 @@ gsd_print_notifications_manager_set_property (GObject        *object,
                                               const GValue   *value,
                                               GParamSpec     *pspec)
 {
-        GsdPrintNotificationsManager *self;
-
-        self = GSD_PRINT_NOTIFICATIONS_MANAGER (object);
-
         switch (prop_id) {
         default:
                 G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
@@ -391,10 +387,6 @@ gsd_print_notifications_manager_get_property (GObject        *object,
                                               GValue         *value,
                                               GParamSpec     *pspec)
 {
-        GsdPrintNotificationsManager *self;
-
-        self = GSD_PRINT_NOTIFICATIONS_MANAGER (object);
-
         switch (prop_id) {
         default:
                 G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
@@ -408,9 +400,6 @@ gsd_print_notifications_manager_constructor (GType                  type,
                                              GObjectConstructParam *construct_properties)
 {
         GsdPrintNotificationsManager      *print_notifications_manager;
-        GsdPrintNotificationsManagerClass *klass;
-
-        klass = GSD_PRINT_NOTIFICATIONS_MANAGER_CLASS (g_type_class_peek (GSD_TYPE_PRINT_NOTIFICATIONS_MANAGER));
 
         print_notifications_manager = GSD_PRINT_NOTIFICATIONS_MANAGER (G_OBJECT_CLASS (gsd_print_notifications_manager_parent_class)->constructor (type,
                                                                                                                                                    n_construct_properties,
@@ -422,10 +411,6 @@ gsd_print_notifications_manager_constructor (GType                  type,
 static void
 gsd_print_notifications_manager_dispose (GObject *object)
 {
-        GsdPrintNotificationsManager *print_notifications_manager;
-
-        print_notifications_manager = GSD_PRINT_NOTIFICATIONS_MANAGER (object);
-
         G_OBJECT_CLASS (gsd_print_notifications_manager_parent_class)->dispose (object);
 }
 
