summaryrefslogtreecommitdiff
path: root/gtk/gtktext.c
diff options
context:
space:
mode:
authorTimm Bäder <mail@baedert.org>2020-10-17 08:02:47 +0200
committerTimm Bäder <mail@baedert.org>2020-10-22 17:46:34 +0200
commitff1fb4f10d630a369e5b6592f8679f38bd0d8ad8 (patch)
treef883bdfeecff03f12d88482c89902190aba4ed58 /gtk/gtktext.c
parent1bf79a4dae4f85ca32314e6388878645bbd6d0e2 (diff)
downloadgtk+-ff1fb4f10d630a369e5b6592f8679f38bd0d8ad8.tar.gz
text: Remove empty root() implementation
Diffstat (limited to 'gtk/gtktext.c')
-rw-r--r--gtk/gtktext.c8
1 files changed, 0 insertions, 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