GTK+

  • user warning: Table 'drupal_herzi_eu.semaphore' doesn't exist query: SELECT expire, value FROM semaphore WHERE name = 'menu_rebuild' in /var/lib/www/shared/drupal-6.16/includes/lock.inc on line 154.
  • user warning: Table 'drupal_herzi_eu.semaphore' doesn't exist query: SELECT expire, value FROM semaphore WHERE name = 'menu_rebuild' in /var/lib/www/shared/drupal-6.16/includes/lock.inc on line 154.

Using Webkit/GTK+ in Mac OS X

Webkit/GTK+ is a really nice thing already. It still has it's rough edges, but it already works really nicely.

Approaching the nineth circle of hell

Dear Lazyweb,

today I had a problem debugging a GTK+ module (libatk-bridge.so). It threw a warning which looked like it was coming from my application:

** (criawips:26563): WARNING **: failure: no device event controller found.

By using grep I realized pretty quickly that the message didn't come from my application. The gdb was at least able to tell me where the meesage came from (after breaking on g_log):

(gdb) bt
#0 IA__g_log (log_domain=0x0, log_level=G_LOG_LEVEL_WARNING,

Nice Tree Effect

Did you ever wonder why applications like nautilus display a node called »(empty)« in the tree? I didn't. There are several reasons that could be brought up here, but in my opinion the Windows Explorer just got it right:

  1. if you don't know, display an expander
  2. if you look at it and it's empty, just remove the expander

So I tried to implement this behaviour in GQ. It wasn't very easy, but it works. As I wrote last week, I suspected a bug in that code, so I developed a small test case to play with that feature. If you're interested in it for your application, take my example and build your own tree model.

The dark traps of refactoring… (or, not every bug is a platform bug)

When I ported the GtkCTree from GQ to GtkTreeView and GtkTreeModel I started to get a really strange problem:

Gtk-ERROR **: file gtktreeview.c: line 4726 (gtk_tree_view_bin_expose): assertion failed: (node != tree->nil)
aborting...
Aborted (core dumped)

This didn't happen always but happened some times (approximately ~20% of the "expand a node" cases).

GObject

This is a very interesting blog post about GObject.
Please don't flame that guy, he just doesn't know better.

20 May 2005

The last weeks I've been looking for some special things that I might want to use for criawips:

Automated Software Testing

When I found Tim's gerd I was quite impressed. Using it, you can record GObject-Events and use them to replay an application session. This could be very cool for both testing and demonstration puposes as one can easily record one session and launch the application later with that information (this way you have a much better i18n as for video recording things). Gerd is in the GNOME CVS tree (module "gerd").

Syndicate content