summaryrefslogtreecommitdiff
path: root/libnautilus-private/nautilus-ui-utilities.h
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimoc@gnome.org>2013-08-02 14:37:13 +0200
committerCosimo Cecchi <cosimoc@gnome.org>2013-08-03 15:13:16 +0200
commit0d4555d76f86ba2d49f48836b7eea11f1adfb2fd (patch)
treed02fd7c18b591e1f623247b5aac9524b502ed2c3 /libnautilus-private/nautilus-ui-utilities.h
parent9fd0032d2b4e44425941d1d8eb41b0d2c30a6527 (diff)
downloadnautilus-0d4555d76f86ba2d49f48836b7eea11f1adfb2fd.tar.gz
Support HiDpi icons
Port the rendering of icons to cairo surfaces, so that we can apply the GDK scale factor when rendering icons.
Diffstat (limited to 'libnautilus-private/nautilus-ui-utilities.h')
-rw-r--r--libnautilus-private/nautilus-ui-utilities.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/libnautilus-private/nautilus-ui-utilities.h b/libnautilus-private/nautilus-ui-utilities.h
index 12e2e5e5a..333285e34 100644
--- a/libnautilus-private/nautilus-ui-utilities.h
+++ b/libnautilus-private/nautilus-ui-utilities.h
@@ -34,9 +34,11 @@ void nautilus_ui_prepare_merge_ui (GtkUIManager *ui_manage
const char *name,
guint *merge_id,
GtkActionGroup **action_group);
-GtkAction * nautilus_action_from_menu_item (NautilusMenuItem *item);
+GtkAction * nautilus_action_from_menu_item (NautilusMenuItem *item,
+ GtkWidget *parent_widget);
-GdkPixbuf * nautilus_ui_get_menu_icon (const char *icon_name);
+GdkPixbuf * nautilus_ui_get_menu_icon (const char *icon_name,
+ GtkWidget *parent_widget);
char * nautilus_escape_action_name (const char *action_name,
const char *prefix);