summaryrefslogtreecommitdiff
path: root/gtk/gtkbuiltiniconprivate.h
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2020-01-28 15:03:42 +0100
committerAlexander Larsson <alexl@redhat.com>2020-01-30 10:53:33 +0100
commit6a15e9169d018a18fdaa481287d5facfd2b142f1 (patch)
tree9017548b2eed00d6ee3862562aae8c68140f77d3 /gtk/gtkbuiltiniconprivate.h
parent6af4b6a644bb8ad29088cf5dc37dbe426a005937 (diff)
downloadgtk+-6a15e9169d018a18fdaa481287d5facfd2b142f1.tar.gz
Rename GtkIcon widget to GtkBuiltinIcon
This is an internal widget whose name is not very important, and we want to rename GtkIconInfo to GtkIcon, so lets rename this.
Diffstat (limited to 'gtk/gtkbuiltiniconprivate.h')
-rw-r--r--gtk/gtkbuiltiniconprivate.h38
1 files changed, 38 insertions, 0 deletions
diff --git a/gtk/gtkbuiltiniconprivate.h b/gtk/gtkbuiltiniconprivate.h
new file mode 100644
index 0000000000..ba8accd2a9
--- /dev/null
+++ b/gtk/gtkbuiltiniconprivate.h
@@ -0,0 +1,38 @@
+/*
+ * Copyright © 2015 Endless Mobile, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library. If not, see <http://www.gnu.org/licenses/>.
+ *
+ * Authors: Cosimo Cecchi <cosimoc@gnome.org>
+ */
+
+#ifndef __GTK_BUILTIN_ICON_PRIVATE_H__
+#define __GTK_BUILTIN_ICON_PRIVATE_H__
+
+#include "gtkwidget.h"
+#include "gtkcsstypesprivate.h"
+
+G_BEGIN_DECLS
+
+#define GTK_TYPE_BUILTIN_ICON (gtk_builtin_icon_get_type ())
+
+G_DECLARE_FINAL_TYPE (GtkBuiltinIcon, gtk_builtin_icon, GTK, BUILTIN_ICON, GtkWidget)
+
+GtkWidget * gtk_builtin_icon_new (const char *css_name);
+void gtk_builtin_icon_set_css_name (GtkBuiltinIcon *self,
+ const char *css_name);
+
+G_END_DECLS
+
+#endif /* __GTK_BUILTIN_ICON_PRIVATE_H__ */