Hello all,
Below I have two gtk_object_set_datas.
I can't figure out why the first works and not the second.
void
on_PE_NewProtocol_button_clicked (GtkButton *button,
gpointer user_data)
{
GtkWidget* Canvas;
gint State_Count = 0;
gfloat Zoom = 1.0;
Canvas = lookup_widget ( GTK_WIDGET ( button ) , "PE_PView_canvas" );
gtk_object_set_data ( GTK_OBJECT ( Canvas ) , "state_count" , ( gint*
) ( gint ) State_Count );
gtk_object_set_data ( GTK_OBJECT ( Canvas ) , "zoom" , ( gfloat*
)(gfloat) Zoom );
. . .
}
What am I missing?
Thanks,
George.
--
To unsubscribe: mail -s unsubscribe [EMAIL PROTECTED] < /dev/null