[gnome-builder] libide: remove unused vfunc



commit 576ca13f80ae144c15b5360755deed3d3c7676b0
Author: Christian Hergert <christian hergert me>
Date:   Sun Sep 27 18:28:42 2015 -0700

    libide: remove unused vfunc

 libide/ide-source-view.c |   16 ----------------
 1 files changed, 0 insertions(+), 16 deletions(-)
---
diff --git a/libide/ide-source-view.c b/libide/ide-source-view.c
index 179e830..c1a892a 100644
--- a/libide/ide-source-view.c
+++ b/libide/ide-source-view.c
@@ -3671,18 +3671,6 @@ ide_source_view_constructed (GObject *object)
 }
 
 static void
-ide_source_view_real_undo (GtkSourceView *source_view)
-{
-  GTK_SOURCE_VIEW_CLASS (ide_source_view_parent_class)->undo (source_view);
-}
-
-static void
-ide_source_view_real_redo (GtkSourceView *source_view)
-{
-  GTK_SOURCE_VIEW_CLASS (ide_source_view_parent_class)->redo (source_view);
-}
-
-static void
 ide_source_view_real_insert_at_cursor (GtkTextView *text_view,
                                        const gchar *str)
 {
@@ -5272,7 +5260,6 @@ ide_source_view_class_init (IdeSourceViewClass *klass)
   GObjectClass *object_class = G_OBJECT_CLASS (klass);
   GtkWidgetClass *widget_class = GTK_WIDGET_CLASS (klass);
   GtkTextViewClass *text_view_class = GTK_TEXT_VIEW_CLASS (klass);
-  GtkSourceViewClass *source_view_class = GTK_SOURCE_VIEW_CLASS (klass);
   GtkBindingSet *binding_set;
   GTypeClass *completion_class;
 
@@ -5297,9 +5284,6 @@ ide_source_view_class_init (IdeSourceViewClass *klass)
   text_view_class->insert_at_cursor = ide_source_view_real_insert_at_cursor;
   text_view_class->populate_popup = ide_source_view_real_populate_popup;
 
-  source_view_class->undo = ide_source_view_real_undo;
-  source_view_class->redo = ide_source_view_real_redo;
-
   klass->action = ide_source_view_real_action;
   klass->append_to_count = ide_source_view_real_append_to_count;
   klass->auto_indent = ide_source_view_real_auto_indent;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]