| 1 | /* |
| 2 | * GTK - The GIMP Toolkit |
| 3 | * Copyright (C) 2008 Jaap Haitsma <jaap@haitsma.org> |
| 4 | * |
| 5 | * All rights reserved. |
| 6 | * |
| 7 | * This library is free software; you can redistribute it and/or |
| 8 | * modify it under the terms of the GNU Lesser General Public |
| 9 | * License as published by the Free Software Foundation; either |
| 10 | * version 2 of the License, or (at your option) any later version. |
| 11 | * |
| 12 | * This library is distributed in the hope that it will be useful, |
| 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 15 | * Lesser General Public License for more details. |
| 16 | * |
| 17 | * You should have received a copy of the GNU Lesser General Public |
| 18 | * License along with this library. If not, see <http://www.gnu.org/licenses/>. |
| 19 | */ |
| 20 | |
| 21 | #ifndef __GTK_SHOW_H__ |
| 22 | #define __GTK_SHOW_H__ |
| 23 | |
| 24 | #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) |
| 25 | #error "Only <gtk/gtk.h> can be included directly." |
| 26 | #endif |
| 27 | |
| 28 | #include <gtk/gtkwindow.h> |
| 29 | |
| 30 | G_BEGIN_DECLS |
| 31 | |
| 32 | GDK_DEPRECATED_IN_3_22_FOR(gtk_show_uri_on_window) |
| 33 | gboolean gtk_show_uri (GdkScreen *screen, |
| 34 | const gchar *uri, |
| 35 | guint32 timestamp, |
| 36 | GError **error); |
| 37 | |
| 38 | GDK_AVAILABLE_IN_3_22 |
| 39 | gboolean gtk_show_uri_on_window (GtkWindow *parent, |
| 40 | const char *uri, |
| 41 | guint32 timestamp, |
| 42 | GError **error); |
| 43 | |
| 44 | G_END_DECLS |
| 45 | |
| 46 | #endif /* __GTK_SHOW_H__ */ |
| 47 | |