[gtk/wip/baedert/for-master: 126/128] text: Remove empty root() implementation




commit ff1fb4f10d630a369e5b6592f8679f38bd0d8ad8
Author: Timm Bäder <mail baedert org>
Date:   Sat Oct 17 08:02:47 2020 +0200

    text: Remove empty root() implementation

 gtk/gtktext.c | 8 --------
 1 file changed, 8 deletions(-)
---
diff --git a/gtk/gtktext.c b/gtk/gtktext.c
index cb06561b77..76d371ec97 100644
--- a/gtk/gtktext.c
+++ b/gtk/gtktext.c
@@ -339,7 +339,6 @@ static void   gtk_text_direction_changed    (GtkWidget        *widget,
                                              GtkTextDirection  previous_dir);
 static void   gtk_text_state_flags_changed  (GtkWidget        *widget,
                                              GtkStateFlags     previous_state);
-static void   gtk_text_root                 (GtkWidget        *widget);
 
 static gboolean gtk_text_drag_drop          (GtkDropTarget    *dest,
                                              const GValue     *value,
@@ -726,7 +725,6 @@ gtk_text_class_init (GtkTextClass *class)
   widget_class->css_changed = gtk_text_css_changed;
   widget_class->direction_changed = gtk_text_direction_changed;
   widget_class->state_flags_changed = gtk_text_state_flags_changed;
-  widget_class->root = gtk_text_root;
   widget_class->mnemonic_activate = gtk_text_mnemonic_activate;
 
   class->move_cursor = gtk_text_move_cursor;
@@ -3297,12 +3295,6 @@ gtk_text_state_flags_changed (GtkWidget     *widget,
   gtk_text_update_cached_style_values (self);
 }
 
-static void
-gtk_text_root (GtkWidget *widget)
-{
-  GTK_WIDGET_CLASS (gtk_text_parent_class)->root (widget);
-}
-
 /* GtkEditable method implementations
  */
 static void


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