[gtksourceview/wip/deprecate-gtk-stock: 3/3] pixbuf helper: ignore GtkStock deprecations
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtksourceview/wip/deprecate-gtk-stock: 3/3] pixbuf helper: ignore GtkStock deprecations
- Date: Mon, 8 Jul 2013 14:17:59 +0000 (UTC)
commit d891935d65156e082945649b7fbfddd671aacace
Author: Sébastien Wilmet <swilmet gnome org>
Date: Mon Jul 8 15:35:47 2013 +0200
pixbuf helper: ignore GtkStock deprecations
When removing the public API wrt GtkStock, the from_stock() function can
be removed too.
gtksourceview/gtksourcepixbufhelper.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/gtksourceview/gtksourcepixbufhelper.c b/gtksourceview/gtksourcepixbufhelper.c
index 94afc45..d24b782 100644
--- a/gtksourceview/gtksourcepixbufhelper.c
+++ b/gtksourceview/gtksourcepixbufhelper.c
@@ -216,6 +216,8 @@ from_pixbuf (GtkSourcePixbufHelper *helper,
GDK_INTERP_BILINEAR));
}
+G_GNUC_BEGIN_IGNORE_DEPRECATIONS;
+
static void
from_stock (GtkSourcePixbufHelper *helper,
GtkWidget *widget,
@@ -239,6 +241,9 @@ from_stock (GtkSourcePixbufHelper *helper,
helper->stock_id,
icon_size));
}
+
+G_GNUC_END_IGNORE_DEPRECATIONS;
+
static void
from_gicon (GtkSourcePixbufHelper *helper,
GtkWidget *widget,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]