Latest Gedit no longer works and crashes

~suv suv-sf at users.sourceforge.net
Mon Feb 7 09:21:40 PST 2011


On 7/2/11 17:43, Jasper Frumau wrote:
> On Mon, Feb 7, 2011 at 7:46 AM, ~suv <suv-sf at users.sourceforge.net> wrote:
>> On 7/2/11 03:35, Rainer Müller wrote:
>>> On 3/2/11 17:08, Jasper Frumau wrote:
>>>
>>>> Gtk:ERROR:gtkrecentmanager.c:1942:get_icon_fallback: assertion failed:
>>>> (retval != NULL)
>>>> Abort trap

>> A known workaround e.g. for Inkscape 0.48.0 [4] and MyPaint is to
>> actually use the Gnome or Tango icon theme (via ~/.gtkrc-2.0) as main or
>> fallback icon theme. Just having the icon theme installed is not
>> sufficient to prevent the crash in the GtkRecentManager object. Try
>> adding this line to ~/.gtkrc-2.0 to prevent the crash:
>>
>> gtk-fallback-icon-theme="gnome"
>>
>> or, alternatively (if you prefer Tango icons):
>>
>> gtk-fallback-icon-theme="tango"
>>
> 
> If I do not have "~/.gtkrc-2.0" I can just add I suppose?

yes, if it doesn't exist, just create it:

$ touch ~/.gtkrc-2.0
$ open -t !$

All GTK+ applications will read that RC file if it exists [1]. If you
only want to test it with gedit, create e.g. '~/.gtkrc-2.0.gedit' and
launch gedit like this:

$ GTK2_RC_FILES="$HOME/.gtkrc-2.0.gedit" gedit


hth, ~suv



[1] References:
<http://library.gnome.org/devel/gtk/2.22/gtk-Resource-Files.html#gtk-Resource-Files.description>
<http://library.gnome.org/devel/gtk/2.22/GtkSettings.html>


More information about the macports-users mailing list