[gtksourceview] test-completion: do not use GtkStock (deprecated)
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtksourceview] test-completion: do not use GtkStock (deprecated)
- Date: Mon, 8 Jul 2013 14:16:09 +0000 (UTC)
commit f276281850b3cbfd5e5261e9e9dd7a2b0dae35af
Author: Sébastien Wilmet <swilmet gnome org>
Date: Mon Jul 8 16:14:11 2013 +0200
test-completion: do not use GtkStock (deprecated)
tests/test-completion.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/tests/test-completion.c b/tests/test-completion.c
index 97e2105..e91d47e 100644
--- a/tests/test-completion.c
+++ b/tests/test-completion.c
@@ -119,7 +119,7 @@ test_provider_get_icon (GtkSourceCompletionProvider *provider)
if (tp->icon == NULL)
{
GtkIconTheme *theme = gtk_icon_theme_get_default ();
- tp->icon = gtk_icon_theme_load_icon (theme, GTK_STOCK_DIALOG_INFO, 16, 0, NULL);
+ tp->icon = gtk_icon_theme_load_icon (theme, "dialog-information", 16, 0, NULL);
}
return tp->icon;
@@ -131,7 +131,7 @@ test_provider_iface_init (GtkSourceCompletionProviderIface *iface)
iface->get_name = test_provider_get_name;
iface->populate = test_provider_populate;
iface->get_priority = test_provider_get_priority;
- //iface->get_icon = test_provider_get_icon;
+ /* iface->get_icon = test_provider_get_icon; */
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]