[gtk/wip/baedert/for-master: 22/74] label: Remove gtk_label_realize
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/baedert/for-master: 22/74] label: Remove gtk_label_realize
- Date: Sat, 5 Oct 2019 09:40:13 +0000 (UTC)
commit 248264edf6096e91c865c7b14272f1493fa100d9
Author: Timm Bäder <mail baedert org>
Date: Thu Sep 26 05:42:49 2019 +0200
label: Remove gtk_label_realize
We don't need this to update the cursor anymore.
gtk/gtklabel.c | 14 --------------
1 file changed, 14 deletions(-)
---
diff --git a/gtk/gtklabel.c b/gtk/gtklabel.c
index 566a8e7ef7..929da96302 100644
--- a/gtk/gtklabel.c
+++ b/gtk/gtklabel.c
@@ -444,7 +444,6 @@ static void gtk_label_snapshot (GtkWidget *widget,
static gboolean gtk_label_focus (GtkWidget *widget,
GtkDirectionType direction);
-static void gtk_label_realize (GtkWidget *widget);
static void gtk_label_unrealize (GtkWidget *widget);
static void gtk_label_motion (GtkEventControllerMotion *controller,
@@ -653,7 +652,6 @@ gtk_label_class_init (GtkLabelClass *class)
widget_class->style_updated = gtk_label_style_updated;
widget_class->query_tooltip = gtk_label_query_tooltip;
widget_class->snapshot = gtk_label_snapshot;
- widget_class->realize = gtk_label_realize;
widget_class->unrealize = gtk_label_unrealize;
widget_class->root = gtk_label_root;
widget_class->unroot = gtk_label_unroot;
@@ -4135,18 +4133,6 @@ gtk_label_set_text_with_mnemonic (GtkLabel *label,
g_object_thaw_notify (G_OBJECT (label));
}
-static void
-gtk_label_realize (GtkWidget *widget)
-{
- GtkLabel *label = GTK_LABEL (widget);
- GtkLabelPrivate *priv = gtk_label_get_instance_private (label);
-
- GTK_WIDGET_CLASS (gtk_label_parent_class)->realize (widget);
-
- if (priv->select_info)
- gtk_label_set_selectable_hint (label);
-}
-
static void
gtk_label_unrealize (GtkWidget *widget)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]