summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/widgets/paint-selector.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widgets/paint-selector.cpp b/src/widgets/paint-selector.cpp
index d67160483..a750ffab6 100644
--- a/src/widgets/paint-selector.cpp
+++ b/src/widgets/paint-selector.cpp
@@ -955,7 +955,7 @@ void SPPaintSelector::updatePatternList( SPPattern *pattern )
GtkMenu *m = GTK_MENU(gtk_option_menu_get_menu(GTK_OPTION_MENU(mnu)));
- GList *kids = GTK_MENU_SHELL(m)->children;
+ GList *kids = gtk_container_get_children(GTK_CONTAINER(m));
int patpos = 0;
int i = 0;