delorie.com/archives/browse.cgi | search |
X-Authentication-Warning: | delorie.com: mail set sender to geda-user-bounces using -f |
X-Recipient: | geda-user AT delorie DOT com |
DKIM-Signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; |
d=gmail.com; s=20120113; | |
h=from:to:cc:subject:date:message-id:in-reply-to:references; | |
bh=0h/oBzuOWlQ6PYB73vMLrJL1dx6SGQaYFtn+qGc2KcI=; | |
b=dZ4sQ+kqE63MY5FigwIFjTQbHfTzDEWQ1bGmK4ks/RWo2gjjdo752h1mG2rgROOLtz | |
vq2oVdotfvV7SJDWh5lhv+3+3ny/eB+DwsIfKPfiMdrJTghY1M9xuC1TRh/Omv6D5dhb | |
4MkbSoRrWp+lFuyBulxSwwXIdp7BpJUzMWFJXsdALorsXYhGkIyu1EcnZZgwoKOEeFqr | |
AsOXHUK6f05+ewP1jGaKITYqrK2QBQiRF2yyWx+CqcMw08tehCtrya36Xrs1N7hl6Hev | |
LRpD/SUYQSEkoASTlmNh2b/fXQ7+jv96KIeQ+eSkXuapjZyV4bGY319qqkkOSyvSpmqL | |
Dzpg== | |
X-Received: | by 10.180.74.173 with SMTP id u13mr7743611wiv.64.1413317972934; |
Tue, 14 Oct 2014 13:19:32 -0700 (PDT) | |
From: | Riccardo Lucchese <riccardo DOT lucchese AT gmail DOT com> |
To: | geda-user AT delorie DOT com |
Cc: | paubert AT iram DOT es, Riccardo Lucchese <riccardo DOT lucchese AT gmail DOT com> |
Subject: | [geda-user] [PATCH V2 40/43] Remove deprecated use of GTK_WIDGET_NO_WINDOW() |
Date: | Tue, 14 Oct 2014 22:17:32 +0200 |
Message-Id: | <1413317855-10673-41-git-send-email-riccardo.lucchese@gmail.com> |
X-Mailer: | git-send-email 2.1.0 |
In-Reply-To: | <1413317855-10673-1-git-send-email-riccardo.lucchese@gmail.com> |
References: | <1413317855-10673-1-git-send-email-riccardo DOT lucchese AT gmail DOT com> |
Reply-To: | geda-user AT delorie DOT com |
Errors-To: | nobody AT delorie DOT com |
X-Mailing-List: | geda-user AT delorie DOT com |
X-Unsubscribes-To: | listserv AT delorie DOT com |
Verbatim from Gtk+ 2 Reference Manual: "GTK_WIDGET_NO_WINDOW has been deprecated since version 2.20 and should not be used in newly-written code. Use gtk_widget_get_has_window() instead." --- gattrib/src/gtksheet_2_2.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gattrib/src/gtksheet_2_2.c b/gattrib/src/gtksheet_2_2.c index 9a0f78c..32734d5 100644 --- a/gattrib/src/gtksheet_2_2.c +++ b/gattrib/src/gtksheet_2_2.c @@ -8011,7 +8011,7 @@ gtk_sheet_put(GtkSheet *sheet, GtkWidget *child, gint x, gint y) if (gtk_widget_get_visible(GTK_WIDGET(sheet))) { if(gtk_widget_get_realized(GTK_WIDGET(sheet)) && - (!gtk_widget_get_realized(child) || GTK_WIDGET_NO_WINDOW(child))) + (!gtk_widget_get_realized(child) || !gtk_widget_get_has_window(child))) gtk_sheet_realize_child(sheet, child_info); if(gtk_widget_get_mapped(GTK_WIDGET(sheet)) && @@ -8109,7 +8109,7 @@ gtk_sheet_attach (GtkSheet *sheet, if (gtk_widget_get_visible(GTK_WIDGET(sheet))) { if(gtk_widget_get_realized(GTK_WIDGET(sheet)) && - (!gtk_widget_get_realized(widget) || GTK_WIDGET_NO_WINDOW(widget))) + (!gtk_widget_get_realized(widget) || !gtk_widget_get_has_window(widget))) gtk_sheet_realize_child(sheet, child); if(gtk_widget_get_mapped(GTK_WIDGET(sheet)) && @@ -8186,7 +8186,7 @@ gtk_sheet_button_attach (GtkSheet *sheet, if (gtk_widget_get_visible(GTK_WIDGET(sheet))) { if(gtk_widget_get_realized(GTK_WIDGET(sheet)) && - (!gtk_widget_get_realized(widget) || GTK_WIDGET_NO_WINDOW(widget))) + (!gtk_widget_get_realized(widget) || !gtk_widget_get_has_window(widget))) gtk_sheet_realize_child(sheet, child); if(gtk_widget_get_mapped(GTK_WIDGET(sheet)) && -- 2.1.0
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |