[gedit] Fix one more gtk_widget_size_request call.
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit] Fix one more gtk_widget_size_request call.
- Date: Sat, 18 Sep 2010 19:12:01 +0000 (UTC)
commit 83e24f03182c73f67c9998952a91fbc717a1542f
Author: Ignacio Casal Quinteiro <icq gnome org>
Date: Sat Sep 18 21:11:38 2010 +0200
Fix one more gtk_widget_size_request call.
gedit/gedit-utils.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/gedit/gedit-utils.c b/gedit/gedit-utils.c
index a86d0b4..a047d0f 100644
--- a/gedit/gedit-utils.c
+++ b/gedit/gedit-utils.c
@@ -157,7 +157,8 @@ gedit_utils_menu_position_under_tree_view (GtkMenu *menu,
if (gtk_widget_get_direction (GTK_WIDGET (tree)) == GTK_TEXT_DIR_RTL)
{
GtkRequisition requisition;
- gtk_widget_size_request (GTK_WIDGET (menu), &requisition);
+ gtk_size_request_get_size (GTK_SIZE_REQUEST (menu),
+ &requisition, NULL);
*x += rect.width - requisition.width;
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]