summaryrefslogtreecommitdiff
path: root/gtk/sexy_icon_entry.c
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2015-04-08 22:21:30 +0100
committerVincent Sanders <vince@kyllikki.org>2015-04-08 22:21:30 +0100
commit5a14a74ab193c1252cac62a94e019747aaad9d99 (patch)
tree636d18adc6ee826064d0ff7f9ecb26014d59a259 /gtk/sexy_icon_entry.c
parenta6b02680a70afebacc479730edcf3a7b1449b5f3 (diff)
downloadnetsurf-5a14a74ab193c1252cac62a94e019747aaad9d99.tar.gz
netsurf-5a14a74ab193c1252cac62a94e019747aaad9d99.tar.bz2
Update gtk compatability header to cope with deprication of stock icon interface
Diffstat (limited to 'gtk/sexy_icon_entry.c')
-rw-r--r--gtk/sexy_icon_entry.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/gtk/sexy_icon_entry.c b/gtk/sexy_icon_entry.c
index b2899b1ba..fff650cc4 100644
--- a/gtk/sexy_icon_entry.c
+++ b/gtk/sexy_icon_entry.c
@@ -961,18 +961,19 @@ sexy_icon_entry_add_clear_button(SexyIconEntry *icon_entry)
g_return_if_fail(icon_entry != NULL);
g_return_if_fail(SEXY_IS_ICON_ENTRY(icon_entry));
- icon = gtk_image_new_from_stock(GTK_STOCK_CLEAR, GTK_ICON_SIZE_MENU);
+ icon = nsgtk_image_new_from_stock(NSGTK_STOCK_CLEAR,
+ GTK_ICON_SIZE_MENU);
gtk_widget_show(icon);
sexy_icon_entry_set_icon(SEXY_ICON_ENTRY(icon_entry),
- SEXY_ICON_ENTRY_SECONDARY,
- GTK_IMAGE(icon));
+ SEXY_ICON_ENTRY_SECONDARY,
+ GTK_IMAGE(icon));
sexy_icon_entry_set_icon_highlight(SEXY_ICON_ENTRY(icon_entry),
- SEXY_ICON_ENTRY_SECONDARY, TRUE);
+ SEXY_ICON_ENTRY_SECONDARY, TRUE);
if (icon_entry->priv->icon_released_id != 0)
{
g_signal_handler_disconnect(icon_entry,
- icon_entry->priv->icon_released_id);
+ icon_entry->priv->icon_released_id);
}
icon_entry->priv->icon_released_id =