openbsd-ports/www/kazehakase/patches/patch-src_widget_kz-entry_c
landry cb27d75f62 WIP on unbreaking kazehakase:
- update to 0.5.8
- backport upstream svn r3871 to let it build with latest gtk+2
- switch to xulrunner 1.9.x (breaks gecko backend while here)
- don't try to create a dbus server socket in a non-existent dir
It is still badly broken, as upstream doesn't seem to care about
shipping working stuff... but at least it builds and packages.
2010-05-06 19:25:51 +00:00

13 lines
527 B
Plaintext

$OpenBSD: patch-src_widget_kz-entry_c,v 1.3 2010/05/06 19:25:51 landry Exp $
--- src/widget/kz-entry.c.orig Mon May 3 22:13:00 2010
+++ src/widget/kz-entry.c Mon May 3 22:13:40 2010
@@ -137,7 +137,7 @@ expose (GtkWidget *widget, GdkEventExpose *event)
{
GtkEntry *entry = GTK_ENTRY(widget);
- if (!GTK_WIDGET_HAS_FOCUS(widget) &&
+ if (!gtk_widget_has_focus(widget) &&
(!gtk_entry_get_text(entry) || gtk_entry_get_text(entry)[0] == '\0')) {
PangoLayout *layout;
PangoAttrList *attrs;