On Fri, 2006-04-14 at 21:21 -0700, Deependra Shekhawat wrote:
> void on_butt_close_clicked(GtkButton *button,gpointer
> user_data)
> {
> gtk_widget_hide((GtkWidget *)user_data);
> }
I may be wrong about this, but I think you want to write this function
like:
gint on_butt_close_clicked(GtkButton *button, gpointer user_data)
{
gtk_widget_hide((GtkWidget *)user_data);
return TRUE;
}
Returning TRUE will prevent the window from being destroyed..
Hope this helps..
--
Daniel Pekelharing
<[EMAIL PROTECTED]>
_______________________________________________
gtk-app-devel-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list