[ekiga] Removed the explicit redraw instructions : they're useless now
- From: Julien Puydt <jpuydt src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ekiga] Removed the explicit redraw instructions : they're useless now
- Date: Sat, 9 Oct 2010 09:15:07 +0000 (UTC)
commit be8e1bb9416db7f7353b4de812b7830043ff6940
Author: Snark <jpuydt gnome org>
Date: Sat Oct 9 11:16:33 2010 +0200
Removed the explicit redraw instructions : they're useless now
We were previously modifying a structure behind gtk+'s back ; but
since the GSEAL, we have been calling an actual api, and hence
the redraw is automatic.
lib/gui/gmmenuaddon.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/lib/gui/gmmenuaddon.c b/lib/gui/gmmenuaddon.c
index 571becd..d2609e1 100644
--- a/lib/gui/gmmenuaddon.c
+++ b/lib/gui/gmmenuaddon.c
@@ -259,7 +259,6 @@ gtk_build_menu (GtkWidget *menubar,
menu [i].widget = gtk_check_menu_item_new_with_mnemonic (menu_name);
gtk_check_menu_item_set_active (GTK_CHECK_MENU_ITEM (menu [i].widget),
menu [i].enabled);
- gtk_widget_queue_draw (menu [i].widget);
}
else if (menu [i].type == MENU_RADIO_ENTRY) {
@@ -271,7 +270,6 @@ gtk_build_menu (GtkWidget *menubar,
gtk_check_menu_item_set_active (GTK_CHECK_MENU_ITEM (menu [i].widget),
menu [i].enabled);
- gtk_widget_queue_draw (menu [i].widget);
group = gtk_radio_menu_item_get_group (GTK_RADIO_MENU_ITEM (menu[i].widget));
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]