Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4933)

Unified Diff: chrome/browser/ui/gtk/gtk_floating_container.cc

Issue 7329003: Revert 91761 - GTK: More 2.18 goodness. Move from macros to real accessor functions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/ui/gtk/gtk_expanded_container.cc ('k') | chrome/browser/ui/gtk/gtk_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/gtk/gtk_floating_container.cc
===================================================================
--- chrome/browser/ui/gtk/gtk_floating_container.cc (revision 91773)
+++ chrome/browser/ui/gtk/gtk_floating_container.cc (working copy)
@@ -147,7 +147,7 @@
if (child->widget == widget) {
removed_child = true;
- gboolean was_visible = gtk_widget_get_visible(GTK_WIDGET(widget));
+ gboolean was_visible = GTK_WIDGET_VISIBLE(widget);
gtk_widget_unparent(widget);
@@ -156,7 +156,7 @@
g_list_free(children);
g_free(child);
- if (was_visible && gtk_widget_get_visible(GTK_WIDGET(container)))
+ if (was_visible && GTK_WIDGET_VISIBLE(container))
gtk_widget_queue_resize(GTK_WIDGET(container));
break;
@@ -236,7 +236,7 @@
reinterpret_cast<GtkFloatingContainerChild*>(children->data);
children = children->next;
- if (gtk_widget_get_visible(GTK_WIDGET(child->widget))) {
+ if (GTK_WIDGET_VISIBLE(child->widget)) {
gtk_widget_size_request(child->widget, &child_requisition);
child_allocation.x = allocation->x + child->x;
child_allocation.y = allocation->y + child->y;
Property changes on: chrome/browser/ui/gtk/gtk_floating_container.cc
___________________________________________________________________
Added: svn:mergeinfo
« no previous file with comments | « chrome/browser/ui/gtk/gtk_expanded_container.cc ('k') | chrome/browser/ui/gtk/gtk_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698