summaryrefslogtreecommitdiff
path: root/gtk/gtklinkbutton.h
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/gtklinkbutton.h')
-rw-r--r--gtk/gtklinkbutton.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/gtk/gtklinkbutton.h b/gtk/gtklinkbutton.h
index 25affc7e71..92b48512e0 100644
--- a/gtk/gtklinkbutton.h
+++ b/gtk/gtklinkbutton.h
@@ -41,6 +41,10 @@ typedef struct _GtkLinkButton GtkLinkButton;
typedef struct _GtkLinkButtonClass GtkLinkButtonClass;
typedef struct _GtkLinkButtonPrivate GtkLinkButtonPrivate;
+typedef void (*GtkLinkButtonUriFunc) (GtkLinkButton *button,
+ const gchar *link,
+ gpointer user_data);
+
struct _GtkLinkButton
{
GtkButton parent_instance;
@@ -68,6 +72,10 @@ G_CONST_RETURN gchar *gtk_link_button_get_uri (GtkLinkButton *link_but
void gtk_link_button_set_uri (GtkLinkButton *link_button,
const gchar *uri);
+GtkLinkButtonUriFunc gtk_link_button_set_uri_hook (GtkLinkButtonUriFunc func,
+ gpointer data,
+ GDestroyNotify destroy);
+
G_END_DECLS
#endif /* __GTK_LINK_BUTTON_H__ */