Re: Help Regarding GNOME accessibility with our GTK based application
venkat <[email protected]>
| Newsgroups | gmane.comp.gnome.accessibility.general |
|---|---|
| Message-ID | <[email protected]> |
Dear Leena
thanks for your efforts..
the below line can be commented in the code
" strcat("FDKCheckScreenName", getValFromConfig("screennumber"))", gives
following error
the expected result is that it should open a window from a thread.
On 3/9/2012 11:14 AM, Leena Chourey wrote:
> 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]
> <mailto:[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]
> <mailto:[email protected]>
> http://mail.gnome.org/mailman/listinfo/gnome-accessibility-list
>
>
--
Regards
Venkat.S
_______________________________________________
gnome-accessibility-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gnome-accessibility-list