[gtk/matthiasc/for-master] Cosmetics
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/matthiasc/for-master] Cosmetics
- Date: Sun, 25 Oct 2020 00:58:50 +0000 (UTC)
commit 010fd86bed8cfdc3752b0c741b3abe9fcef42853
Author: Matthias Clasen <mclasen redhat com>
Date: Sat Oct 24 20:57:54 2020 -0400
Cosmetics
Remove some comments that refer to no longer
existing menu code.
gtk/gtkwidget.c | 5 -----
1 file changed, 5 deletions(-)
---
diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c
index 49a16937cb..fa744d1d9c 100644
--- a/gtk/gtkwidget.c
+++ b/gtk/gtkwidget.c
@@ -2398,8 +2398,6 @@ gtk_widget_unparent (GtkWidget *widget)
if (priv->parent == NULL)
return;
- /* keep this function in sync with gtk_menu_detach() */
-
gtk_widget_push_verify_invariants (widget);
g_object_freeze_notify (G_OBJECT (widget));
@@ -5670,9 +5668,6 @@ gtk_widget_reposition_after (GtkWidget *widget,
data.old_scale_factor = gtk_widget_get_scale_factor (widget);
- /* keep this function in sync with gtk_menu_attach_to_widget()
- */
-
if (priv->parent == NULL)
g_object_ref_sink (widget);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]