[gedit/wip/tabs] Use new api
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit/wip/tabs] Use new api
- Date: Thu, 11 Jul 2013 17:47:45 +0000 (UTC)
commit 97f37066169ae10a2296d0c84285c2520a57d744
Author: Ignacio Casal Quinteiro <ignacio casal nice-software com>
Date: Thu Jul 11 19:47:34 2013 +0200
Use new api
gedit/gedit-notebook.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gedit/gedit-notebook.c b/gedit/gedit-notebook.c
index 8123beb..4e852ab 100644
--- a/gedit/gedit-notebook.c
+++ b/gedit/gedit-notebook.c
@@ -637,7 +637,7 @@ populate_menu (GeditNotebook *notebook)
if (i < 9)
{
- g_menu_item_set_attribute_value (item, "accel", g_variant_new_take_string
(g_strdup_printf ("<Alt>%d", i + 1)));
+ g_menu_item_set_attribute_value (item, "accel", g_variant_new_printf ("<Alt>%d", i +
1));
}
g_menu_append_item (priv->documents_menu, item);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]