On Mon, Jan 02, 2012 at 09:29:23PM +0100, David Ne??as wrote:
> Date: Mon, 2 Jan 2012 21:29:23 +0100
> From: David Ne??as <y...@physics.muni.cz>
> Subject: Re: troubles porting from ubuntu to debian. [??]
> To: Gary Kline <kl...@thought.org>
> Cc: GTK Devel List <gtk-app-devel-list@gnome.org>
> 
> On Mon, Jan 02, 2012 at 12:15:45PM -0800, Gary Kline wrote:
> > main.c:157: warning: implicit declaration of function ‘chdir’
> > main.c:362: warning: implicit declaration of function ‘sleep’
> 
> Declared in unistd.h.  Forgot to include it?


        probably; anyway, i'm not concerned about those two.

> 
> > main.c: In function ‘inc_button_click_cb’:
> > main.c:242: warning: implicit declaration of function
> > ‘gtk_widget_is_sensitive’
> > ...
> > Here is the code that has gtk_widget_is_sensitive().  i gave up on
> > this after a couple hours [last night].
> 
> gtk_widget_is_sensitive() appeared in Gtk+ 2.18.
> 
> Use devhelp or look at the on-line reference documentation to see when a
> specific symbol appeared.
> 
> Use gtkdoc-depscan to scan your source code for functions that are
> available only since a specific Gtk+ version.
> 
> Use GTK_WIDGET_IS_SENSITIVE() for compatibility with older Gtk+.


        could you please explain more about this macro and how to
        resolve the complaint?

        as you note, things do only now frown using the macro def:


        main.c:243: warning: implicit declaration of function
        ‘GTK_WIDGET_SET_SENSITIVE’
        main.c: In function ‘dec_button_click_cb’:

        how the heck to i fix that warning that GTK_WIDGET_IS_SENSITIVE() IS 
*implicit*?

        this program works on ubuntu 11.10 which is a direct fork of
        debian.  i  was certain it would work on my laptop whivh has the
        latest debian.
         

         [BTZZZT!] :-)

        gary
> 
> Yeti
> 

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
           Journey Toward the Dawn, E-Book: http://www.thought.org
          The 8.57a release of Jottings: http://jottings.thought.org
             Twenty-five years of service to the Unix community.

_______________________________________________
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