openbsd-ports/www/kazehakase/patches/patch-src_widget_kz-entry_c

13 lines
527 B
Plaintext
Raw Normal View History

$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;