summaryrefslogtreecommitdiff
path: root/gtk/gtktreemenu.c
diff options
context:
space:
mode:
authorTristan Van Berkom <tristan.van.berkom@gmail.com>2010-11-27 16:32:36 +0900
committerTristan Van Berkom <tristan.van.berkom@gmail.com>2011-01-04 23:37:10 +0900
commit15ac4be60f32e9ba07f932c456abce0262dffb58 (patch)
treef19f030042a4bcdd730cf81edcd8b55a97f7b48f /gtk/gtktreemenu.c
parentab3b75aeb15e9e6726724f360bcfef9eef4270f4 (diff)
downloadgtk+-15ac4be60f32e9ba07f932c456abce0262dffb58.tar.gz
Fixed combo-refactor branch for recent switch to gtk_cell_area_context_reset() api.
Diffstat (limited to 'gtk/gtktreemenu.c')
-rw-r--r--gtk/gtktreemenu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtktreemenu.c b/gtk/gtktreemenu.c
index 7c2d9dfb8f..bc21378a87 100644
--- a/gtk/gtktreemenu.c
+++ b/gtk/gtktreemenu.c
@@ -834,7 +834,7 @@ row_inserted_cb (GtkTreeModel *model,
gtk_menu_shell_insert (GTK_MENU_SHELL (menu), item, index);
/* Resize everything */
- gtk_cell_area_context_flush (menu->priv->context);
+ gtk_cell_area_context_reset (menu->priv->context);
}
}
else
@@ -875,7 +875,7 @@ row_deleted_cb (GtkTreeModel *model,
gtk_widget_destroy (item);
/* Resize everything */
- gtk_cell_area_context_flush (menu->priv->context);
+ gtk_cell_area_context_reset (menu->priv->context);
}
}
else