openbsd-ports/www/kazehakase/patches/patch-src_kz-tab-label_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

22 lines
721 B
Plaintext

$OpenBSD: patch-src_kz-tab-label_c,v 1.1 2010/05/06 19:25:51 landry Exp $
--- src/kz-tab-label.c.orig Mon May 3 22:10:21 2010
+++ src/kz-tab-label.c Mon May 3 22:11:12 2010
@@ -519,7 +519,7 @@ kz_tab_label_set_state (KzTabLabel *kztab,
g_return_if_fail(KZ_IS_TAB_LABEL(kztab));
- if (!GTK_WIDGET_REALIZED(kztab)) return;
+ if (!gtk_widget_get_realized(kztab)) return;
priv = KZ_TAB_LABEL_GET_PRIVATE (kztab);
if (priv->create_thumbnail &&
@@ -965,7 +965,7 @@ cb_progress (KzWeb *web, gdouble ratio, KzTabLabel *kz
widget = GTK_WIDGET(kztab);
- if(GTK_WIDGET_REALIZED(widget))
+ if(gtk_widget_get_realized(widget))
{
GdkBitmap *mask;
KzTabLabelPrivate *priv = KZ_TAB_LABEL_GET_PRIVATE(kztab);