Commit 28e712df authored by Matthias Clasen's avatar Matthias Clasen

Fix 308111

parent fb6ce335
2005-06-18 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkpaned.c (gtk_paned_add): Barf if more than
2 children are added. (#308111, Morten Welinder)
* gtk/gtkcalendar.c (gtk_calendar_init): _NL_FIRST_WEEKDAY is
1-based. (#163842, Pierre Ossman)
......
2005-06-18 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkpaned.c (gtk_paned_add): Barf if more than
2 children are added. (#308111, Morten Welinder)
* gtk/gtkcalendar.c (gtk_calendar_init): _NL_FIRST_WEEKDAY is
1-based. (#163842, Pierre Ossman)
......
2005-06-18 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkpaned.c (gtk_paned_add): Barf if more than
2 children are added. (#308111, Morten Welinder)
* gtk/gtkcalendar.c (gtk_calendar_init): _NL_FIRST_WEEKDAY is
1-based. (#163842, Pierre Ossman)
......
......@@ -1007,6 +1007,8 @@ gtk_paned_add (GtkContainer *container,
gtk_paned_add1 (paned, widget);
else if (!paned->child2)
gtk_paned_add2 (paned, widget);
else
g_warning ("GtkPaned cannot have more than 2 children\n");
}
static void
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment