forked from AuroraMiddleware/gtk
Merge branch 'listview-sink-adjustment' into 'master'
listbase: Sink adjustments Closes #4403 See merge request GNOME/gtk!4117
This commit is contained in:
commit
c20a631ab7
@ -1803,7 +1803,9 @@ gtk_list_base_init_real (GtkListBase *self,
|
||||
priv->focus = gtk_list_item_tracker_new (priv->item_manager);
|
||||
|
||||
priv->adjustment[GTK_ORIENTATION_HORIZONTAL] = gtk_adjustment_new (0.0, 0.0, 0.0, 0.0, 0.0, 0.0);
|
||||
g_object_ref_sink (priv->adjustment[GTK_ORIENTATION_HORIZONTAL]);
|
||||
priv->adjustment[GTK_ORIENTATION_VERTICAL] = gtk_adjustment_new (0.0, 0.0, 0.0, 0.0, 0.0, 0.0);
|
||||
g_object_ref_sink (priv->adjustment[GTK_ORIENTATION_VERTICAL]);
|
||||
|
||||
priv->orientation = GTK_ORIENTATION_VERTICAL;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user