strange i18n problem
- From: Allin Cottrell <cottrell wfu edu>
- To: gtk-app-devel-list gnome org
- Subject: strange i18n problem
- Date: Tue, 4 Jan 2005 16:06:58 -0500 (EST)
I'm just trying out a new de.po file for my program, running with
LAND=de_DE (gtk 2.6.0, pango 1.8.0). When I access the File menu,
the program crashes. This does not happen when running in any other
language, and the po file looks OK. It's difficult to get a good
backtrace because it also freezes X, but here's what I got:
(gretl_x11:25193): Gtk-CRITICAL **:
gtk_widget_get_pango_context:
assertion `GTK_IS_WIDGET (widget)' failed
(gretl_x11:25193): Pango-CRITICAL **:
pango_context_get_language:
assertion `context != NULL' failed
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1229554944 (LWP 25193)]
0xb780b2a7 in
gtk_menu_item_expose (widget=0x8152730, event=0x824d338)
at gtkmenuitem.c:737
The context in gtkmenuitem.c is the processing of a submenu:
context = gtk_widget_get_pango_context (GTK_BIN (menu_item)->child);
metrics = pango_context_get_metrics (context, GTK_WIDGET (GTK_BIN
(menu_item)->child)->style->font_desc,
pango_context_get_language (context));
So it seems that (menu_item)->child is not a widget.
Any notions what might be happening here? Thanks.
--
Allin Cottrell
Department of Economics
Wake Forest University, NC
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]