- /* Put minute labels and buttons into same size group, so they each have
- the exact same horizontal width. */
- size_group = gtk_size_group_new( GTK_SIZE_GROUP_HORIZONTAL );
- for (i = WIDGET_GROUP_10_MINUTES; i < WIDGET_GROUP_1_MINUTES; i++)
- {
- gtk_size_group_add_widget(size_group, priv->widgets[i].frame);
- gtk_size_group_add_widget(size_group, priv->widgets[i].buttons[BUTTON_UP]);
- gtk_size_group_add_widget(size_group,
- priv->widgets[i].buttons[BUTTON_DOWN]);
- }
- g_object_unref( size_group ); /* Added widgets hold references */
-