Hi

I got a problem with gtk_message_dialog_new function :I pass a gchar*  as a 
parameter to a function for creating message dialog box and it only writes a 
part of the whole string. 

In main :
...
quick_message (" message bla bla ");
...

Function quick_message : 

void quick_message(gchar *message)
{
  GtkWidget *dialog ;

  
dialog=gtk_message_dialog_new(GTK_WINDOW(pWindow),GTK_DIALOG_DESTROY_WITH_PARENT,GTK_MESSAGE_ERROR,GTK_BUTTONS_CLOSE,message);

  gtk_dialog_run(GTK_DIALOG(dialog));
  
  gtk_widget_destroy(dialog);
  
}

When running , I only see the part of string : message b. Could you tell me why 
?
Thanks

Dimitri

_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to