Re: Help Regarding GNOME accessibility with our GTK based application

Leena Chourey <[email protected]>
Newsgroups gmane.comp.gnome.accessibility.general
Message-ID <CAD-S5bOp4t4=8VGmG6q-20bzkkBKgqAr+EqmM_HYv88mso8=Bg@mail.gmail.com>
Hello,

The code in file Not_working_code.c , after compile the line
" strcat("FDKCheckScreenName", getValFromConfig("screennumber"))", gives
following error
-------------------------------------------------------------------------
Not_working_code.c: In function ‘dispInit’:
Not_working_code.c:21: warning: incompatible implicit declaration of
built-in function ‘strcat’
Not_working_code.c:21: error: ‘FDKCheckScreenName’ undeclared (first use in
this function)
Not_working_code.c:21: error: (Each undeclared identifier is reported only
once
Not_working_code.c:21: error: for each function it appears in.)
Not_working_code.c:21: warning: passing argument 2 of ‘strcat’ makes
pointer from integer without a cast
Not_working_code.c:21: note: expected ‘const char *’ but argument is of
type ‘int’
----------------------------------------------------------

After blocking that line compiled successfully with command "gcc
Not_working_code.c   `pkg-config --cflags gtk+-2.0` `pkg-config --libs
gtk+-2.0`"  Successfully compiled and after running gives following msg:

"Initializing the display library"

Is this your expected output? I did not get any response of thread. As
expected it shd open a window. Pls confirm


regards
Leena

On Thu, Mar 8, 2012 at 3:30 PM, venkat <[email protected]> wrote:

> Now we are facing a peculiar problem while trying to build our application
> with GTK.
>
> When we try to build application with threads we see that its objects are
> not accessible.
> But, the same code when we try without threads we see that we are able to
> access the objects
>
> also attached the sample codes for the same
>
> Hope you can bring us some light in solving
>
>
>
>
> _______________________________________________
> gnome-accessibility-list mailing list
> [email protected]
> http://mail.gnome.org/mailman/listinfo/gnome-accessibility-list
>
>

_______________________________________________
gnome-accessibility-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gnome-accessibility-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.