[anjuta] Remove deprecated flags
- From: Sebastien Granjoux <sgranjoux src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [anjuta] Remove deprecated flags
- Date: Sat, 24 Jun 2017 13:13:32 +0000 (UTC)
commit 63e5f64af83cbf0a6a06cbb3fc221ddbb2e301fd
Author: Sébastien Granjoux <seb sfo free fr>
Date: Wed Jun 21 22:13:26 2017 +0200
Remove deprecated flags
plugins/document-manager/anjuta-docman.c | 2 +-
plugins/project-manager/dialogs.c | 2 +-
plugins/project-manager/project-view.c | 14 +++++++-------
3 files changed, 9 insertions(+), 9 deletions(-)
---
diff --git a/plugins/document-manager/anjuta-docman.c b/plugins/document-manager/anjuta-docman.c
index 8202ccb..40dbde2 100644
--- a/plugins/document-manager/anjuta-docman.c
+++ b/plugins/document-manager/anjuta-docman.c
@@ -706,7 +706,7 @@ anjuta_docman_get_pixbuf_for_file (GFile* file)
icon_info = gtk_icon_theme_choose_icon (gtk_icon_theme_get_default(),
icon_names,
size,
-
GTK_ICON_LOOKUP_GENERIC_FALLBACK);
+ 0);
if (icon_info != NULL)
{
pixbuf = gtk_icon_info_load_icon (icon_info, NULL);
diff --git a/plugins/project-manager/dialogs.c b/plugins/project-manager/dialogs.c
index 75af235..85e915a 100644
--- a/plugins/project-manager/dialogs.c
+++ b/plugins/project-manager/dialogs.c
@@ -1613,7 +1613,7 @@ build_types_store (AnjutaPmProject *project, AnjutaProjectNodeType store_type)
pixbuf = gtk_icon_theme_load_icon (gtk_icon_theme_get_default(),
GTK_STOCK_CONVERT,
ICON_SIZE,
- GTK_ICON_LOOKUP_GENERIC_FALLBACK,
+ 0,
NULL);
gtk_list_store_append (store, &iter);
diff --git a/plugins/project-manager/project-view.c b/plugins/project-manager/project-view.c
index f9789e8..28b4de7 100644
--- a/plugins/project-manager/project-view.c
+++ b/plugins/project-manager/project-view.c
@@ -401,7 +401,7 @@ get_icon (GFile *file)
icon_info = gtk_icon_theme_choose_icon (gtk_icon_theme_get_default(),
icon_names,
ICON_SIZE,
- GTK_ICON_LOOKUP_GENERIC_FALLBACK);
+ 0);
if (icon_info != NULL)
{
pixbuf = gtk_icon_info_load_icon (icon_info, NULL);
@@ -415,7 +415,7 @@ get_icon (GFile *file)
pixbuf = gtk_icon_theme_load_icon (gtk_icon_theme_get_default(),
GTK_STOCK_MISSING_IMAGE,
ICON_SIZE,
- GTK_ICON_LOOKUP_GENERIC_FALLBACK,
+ 0,
NULL);
}
@@ -454,14 +454,14 @@ set_pixbuf (GtkCellLayout *layout,
pixbuf = gtk_icon_theme_load_icon (gtk_icon_theme_get_default(),
GTK_STOCK_OPEN,
ICON_SIZE,
- GTK_ICON_LOOKUP_GENERIC_FALLBACK,
+ 0,
NULL);
break;
case GBF_TREE_NODE_GROUP:
pixbuf = gtk_icon_theme_load_icon (gtk_icon_theme_get_default(),
GTK_STOCK_DIRECTORY,
ICON_SIZE,
- GTK_ICON_LOOKUP_GENERIC_FALLBACK,
+ 0,
NULL);
break;
case GBF_TREE_NODE_TARGET:
@@ -469,7 +469,7 @@ set_pixbuf (GtkCellLayout *layout,
pixbuf = gtk_icon_theme_load_icon (gtk_icon_theme_get_default(),
GTK_STOCK_CONVERT,
ICON_SIZE,
- GTK_ICON_LOOKUP_GENERIC_FALLBACK,
+ 0,
NULL);
break;
}
@@ -478,7 +478,7 @@ set_pixbuf (GtkCellLayout *layout,
pixbuf = gtk_icon_theme_load_icon (gtk_icon_theme_get_default(),
GTK_STOCK_DND_MULTIPLE,
ICON_SIZE,
- GTK_ICON_LOOKUP_GENERIC_FALLBACK,
+ 0,
NULL);
break;
}
@@ -487,7 +487,7 @@ set_pixbuf (GtkCellLayout *layout,
pixbuf = gtk_icon_theme_load_icon (gtk_icon_theme_get_default(),
GTK_STOCK_DND,
ICON_SIZE,
- GTK_ICON_LOOKUP_GENERIC_FALLBACK,
+ 0,
NULL);
break;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]