summaryrefslogtreecommitdiff
path: root/gtk/compat.h
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2015-04-12 21:42:33 +0100
committerVincent Sanders <vince@kyllikki.org>2015-04-12 21:42:33 +0100
commit41331542154594970fb6c36bc1c147c244fe9279 (patch)
tree74a826f46dd301e9614983a8c4c5e87ac84fccab /gtk/compat.h
parentde09dc8efdfdb4ce27c85733cfec139a52d70776 (diff)
downloadnetsurf-41331542154594970fb6c36bc1c147c244fe9279.tar.gz
netsurf-41331542154594970fb6c36bc1c147c244fe9279.tar.bz2
fix documentation errors in gtk introduced by recent updates.
Diffstat (limited to 'gtk/compat.h')
-rw-r--r--gtk/compat.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/gtk/compat.h b/gtk/compat.h
index e90cdc615..088cd79fe 100644
--- a/gtk/compat.h
+++ b/gtk/compat.h
@@ -172,7 +172,9 @@ enum {
*
* Compatability interface for original deprecated in GTK 3.10
*
- * \param stock_id the name of the stock item
+ * \param entry The entry widget to set the icon on.
+ * \param icon_pos The position of the icon.
+ * \param stock_id the name of the stock item.
*/
void nsgtk_entry_set_icon_from_stock(GtkWidget *entry, GtkEntryIconPosition icon_pos, const gchar *stock_id);
@@ -181,7 +183,9 @@ void nsgtk_entry_set_icon_from_stock(GtkWidget *entry, GtkEntryIconPosition icon
*
* Compatability interface for original deprecated in GTK 3.10
*
- * \param stock_id the name of the stock item
+ * \param stock_id the name of the stock item.
+ * \param size The size of icon to create.
+ * \return The created image widget or NULL on error
*/
GtkWidget *nsgtk_image_new_from_stock(const gchar *stock_id, GtkIconSize size);
@@ -195,12 +199,12 @@ GtkWidget *nsgtk_image_new_from_stock(const gchar *stock_id, GtkIconSize size);
GtkWidget *nsgtk_button_new_from_stock(const gchar *stock_id);
/**
-
* Fills item with the registered values for stock_id.
*
* Compatability interface for original deprecated in GTK 3.10
*
- * \param stock_id the name of the stock item
+ * \param stock_id the name of the stock item.
+ * \param item The structure to update if the stock_id was known.
* \return TRUE if stock_id was known.
*/
gboolean nsgtk_stock_lookup(const gchar *stock_id, GtkStockItem *item);