[gtk+/gtk-style-context: 86/260] Fix compilation.
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-style-context: 86/260] Fix compilation.
- Date: Wed, 20 Oct 2010 10:28:40 +0000 (UTC)
commit d4578f0982313ef609253257792323c8d6573dea
Author: Carlos Garnacho <carlosg gnome org>
Date: Tue May 4 21:01:35 2010 +0200
Fix compilation.
gtk/gtkwidget.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c
index 05d9fc5..4d10d05 100644
--- a/gtk/gtkwidget.c
+++ b/gtk/gtkwidget.c
@@ -13236,7 +13236,7 @@ gtk_widget_get_path (GtkWidget *widget)
GList *regions, *reg;
g_return_val_if_fail (GTK_IS_WIDGET (widget), NULL);
- g_return_val_if_fail (GTK_WIDGET_REALIZED (widget), NULL);
+ g_return_val_if_fail (gtk_widget_get_realized (widget), NULL);
parent = widget->priv->parent;
@@ -13325,7 +13325,7 @@ gtk_widget_get_style_context (GtkWidget *widget)
GTK_STYLE_PROVIDER_PRIORITY_USER);
}
- if (GTK_WIDGET_REALIZED (widget))
+ if (gtk_widget_get_realized (widget))
{
GtkWidgetPath *path;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]