Re: troubles porting from ubuntu to debian. [??]



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 <yeti physics muni cz>
Subject: Re: troubles porting from ubuntu to debian. [??]
To: Gary Kline <kline 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  kline 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.




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