Re: Wy does this give this warning ?




 I got it fixed. Thanks to Daniel.

 Thanks for the replies.

Harring.

--- Evan Martin <martine cs washington edu> wrote:
On Sat, Mar 08, 2003 at 07:45:07PM -0800, Harring Figueiredo wrote:

103 static void application_quit(){
    104     GtkMessageDialog* dialog = NULL;

GtkWidget *dialog;

    105     dialog = gtk_message_dialog_new (GTK_WINDOW(window1),
    106             GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT,
    107             GTK_MESSAGE_QUESTION,
    108             GTK_BUTTONS_YES_NO, "%s",
    109             " Are you sure you want to quit? ");
    110     if(gtk_dialog_run (GTK_DIALOG (dialog)) == GTK_RESPONSE_YES){
    111         gtk_widget_destroy (GTK_WIDGET(dialog));

===========================
callbacks.c: In function `application_quit':
callbacks.c:109: warning: assignment from incompatible pointer type
------------------

It says line 109, but it means the whole "line" of code that contains
line 109.  :)

-- 
      Evan Martin
martine cs washington edu
  http://neugierig.org
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]