mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-03 17:21:11 +00:00
widget: Remove another ->priv usage
This commit is contained in:
parent
f699fff6e0
commit
480a2c2770
@ -11959,7 +11959,9 @@ _gtk_widget_remove_sizegroup (GtkWidget *widget,
|
||||
GSList *
|
||||
_gtk_widget_get_sizegroups (GtkWidget *widget)
|
||||
{
|
||||
if (widget->priv->have_size_groups)
|
||||
GtkWidgetPrivate *priv = gtk_widget_get_instance_private (widget);
|
||||
|
||||
if (priv->have_size_groups)
|
||||
return g_object_get_qdata (G_OBJECT (widget), quark_size_groups);
|
||||
|
||||
return NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user