[gtk+/gtk-style-context: 87/206] Fix compilation.
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-style-context: 87/206] Fix compilation.
- Date: Mon, 23 Aug 2010 17:22:13 +0000 (UTC)
commit 15a374e2b1a7d5ccf505663bc7dba4e30006fca3
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 9464883..08204fc 100644
--- a/gtk/gtkwidget.c
+++ b/gtk/gtkwidget.c
@@ -11578,7 +11578,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->parent;
path = gtk_widget_path_new ();
@@ -11657,7 +11657,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]