mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-06 08:40:08 +00:00
GtkPaned: Update orientation style classes
This commit is contained in:
parent
ad1c0f7155
commit
6e35ae8515
@ -32,6 +32,7 @@
|
||||
#include "gtkorientable.h"
|
||||
#include "gtkwindow.h"
|
||||
#include "gtktypebuiltins.h"
|
||||
#include "gtkorientableprivate.h"
|
||||
#include "gtkprivate.h"
|
||||
#include "gtkintl.h"
|
||||
#include "a11y/gtkpanedaccessible.h"
|
||||
@ -720,6 +721,7 @@ gtk_paned_set_property (GObject *object,
|
||||
{
|
||||
case PROP_ORIENTATION:
|
||||
priv->orientation = g_value_get_enum (value);
|
||||
_gtk_orientable_set_style_classes (GTK_ORIENTABLE (paned));
|
||||
|
||||
if (priv->orientation == GTK_ORIENTATION_HORIZONTAL)
|
||||
priv->cursor_type = GDK_SB_H_DOUBLE_ARROW;
|
||||
|
Loading…
Reference in New Issue
Block a user