[gnome-builder/wip/gtk4-port: 1040/1774] libide/sourceview: remove finalize vfunc
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/wip/gtk4-port: 1040/1774] libide/sourceview: remove finalize vfunc
- Date: Mon, 11 Jul 2022 22:31:32 +0000 (UTC)
commit 4c4979cfe52e75ca4863fe3d1a4db7f7485fe0a6
Author: Christian Hergert <chergert redhat com>
Date: Mon May 16 21:02:30 2022 -0700
libide/sourceview: remove finalize vfunc
src/libide/sourceview/ide-source-view.c | 12 +-----------
1 file changed, 1 insertion(+), 11 deletions(-)
---
diff --git a/src/libide/sourceview/ide-source-view.c b/src/libide/sourceview/ide-source-view.c
index 25467d7eb..8854ab465 100644
--- a/src/libide/sourceview/ide-source-view.c
+++ b/src/libide/sourceview/ide-source-view.c
@@ -583,16 +583,6 @@ ide_source_view_dispose (GObject *object)
IDE_EXIT;
}
-static void
-ide_source_view_finalize (GObject *object)
-{
- IDE_ENTRY;
-
- G_OBJECT_CLASS (ide_source_view_parent_class)->finalize (object);
-
- IDE_EXIT;
-}
-
static void
ide_source_view_get_property (GObject *object,
guint prop_id,
@@ -622,6 +612,7 @@ ide_source_view_get_property (GObject *object,
case PROP_ZOOM_LEVEL:
g_value_set_double (value, ide_source_view_get_zoom_level (self));
break;
+
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
}
@@ -672,7 +663,6 @@ ide_source_view_class_init (IdeSourceViewClass *klass)
GtkWidgetClass *widget_class = GTK_WIDGET_CLASS (klass);
object_class->dispose = ide_source_view_dispose;
- object_class->finalize = ide_source_view_finalize;
object_class->get_property = ide_source_view_get_property;
object_class->set_property = ide_source_view_set_property;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]