comparison finch/libgnt/gntbutton.c @ 15970:790d1d003825

Allow making some columns invisible.
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Fri, 30 Mar 2007 05:32:40 +0000
parents 0e3a8505ebbe
children 8410511f4dbb
comparison
equal deleted inserted replaced
15969:43182e0e58c0 15970:790d1d003825
85 { 85 {
86 GntWidget *widget = GNT_WIDGET(instance); 86 GntWidget *widget = GNT_WIDGET(instance);
87 GntButton *button = GNT_BUTTON(instance); 87 GntButton *button = GNT_BUTTON(instance);
88 button->priv = g_new0(GntButtonPriv, 1); 88 button->priv = g_new0(GntButtonPriv, 1);
89 89
90 GNT_WIDGET_SET_FLAGS(widget, GNT_WIDGET_GROW_X);
91
92 widget->priv.minw = 4; 90 widget->priv.minw = 4;
93 widget->priv.minh = 3; 91 widget->priv.minh = 3;
94 GNTDEBUG; 92 GNTDEBUG;
95 } 93 }
96 94