On 6/17/07, chuck ctl@arrowtwins.com wrote:
See RESPONSE IN CAPS
Enrico Tröger wrote:
On Fri, 15 Jun 2007 16:52:36 -0700, chuck ctl@arrowtwins.com wrote:
Hi,
Just built svn 1624 on windows, and when run from a terminal window, I get the following 22 times. Of course then Geany comes up and seems to run fine.
(geany.exe:3192): Gtk-CRITICAL **: gtk_widget_set_sensitive: assertion `GTK_IS_WIDGET (widget)' failed
These messages are more or less harmless. Anyway, I want to fix it. But when I start Geany in a terminal window(we are talking about cmd.exe?) then I don't get any messages and that's why they still exist. How did you build Geany?
UP-TO-DATE CYGWIN BASE, BUT USING MINGW COMPILER TOOLS ( MINGW DIRECTORY IS IN THE PATH IN FRONT OF CYGWIN ) AND THE GTK-2-TYPE SET OF LIBS. GEANY BUILDS AND RUNS FINE. THE TERMINAL WINDOW IS RXTV RUNNING BASH IN LOGIN MODE, WITH GEANY.EXE IN MY PATH. RUNNING XP, AND DOING THE BUILD WITH make -f makefile.win32
AND localwin32.mk SETS PREFIX TO THE GTK LIB SET. I WROTE ABOUT MY 2-STEP PROCESS OF GENERATING THE DEPS.MAK WITH PREFIX=/cygdrive/c/<path> THEN CHANGING IT TO PREFIX=c:/<path> AFTER THE BUILD FAILS; BUT THE DEPS.MAK ARE UP-TO-DATE. THEN IT BUILDS FINE.
IF THESE MESSAGES ARE SOMETHING THAT SHOULD BE FIXED, IS THERE ANYTHING I CAN DO TO ASSIST?
Well, one thing I usually do to find and fix G-family warnings is to run my applications on gdb with --g-fatal-warnings and then issuing a backtrace. That way, the application will die when the warning is triggered and you can find out exactly why it is happening.
I hope it helps.
Alexandre Moreira.
BY THE WAY, THESE MESSAGES DID NOT OCCUR ON SVN 1615.
CHUCK
Doesn't seem to give enough info for me to look into it further. EG. What is the 3192 referring to?
3192 is just the process id of Geany.
I've seen this kind of error on other GTK apps from time to time (windows and Linux). Being new to GTK development, I'm just
I can't talk about the other GTK apps but in Geany these messages are probably caused by setting the sensitivity (enabled or disabled) of widgets which are not available on Windows. I'm not yet sure at the moment but I guess it is related to the disabled build system on Windows. Once I'm able to get these messages I'll start to fix them.
Regards, Enrico
Geany mailing list Geany@uvena.de http://uvena.de/cgi-bin/mailman/listinfo/geany
Geany mailing list Geany@uvena.de http://uvena.de/cgi-bin/mailman/listinfo/geany