Skip to content

Commit 979b650

Browse files
committed
gtk.cfg: Add various defines
1 parent 9ea1983 commit 979b650

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

cfg/gtk.cfg

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,21 @@
1010
<define name="g_return_val_if_reached(val)" value="do{return (val);}while(0);"/>
1111
<define name="G_CALLBACK(cb)" value="cb"/>
1212
<define name="GTK_SIGNAL_FUNC(f)" value="G_CALLBACK(f)"/>
13+
<define name="G_DIR_SEPARATOR_S" value="&quot;/&quot;"/>
14+
<define name="G_GINT32_FORMAT" value="&quot;i&quot;"/>
15+
<define name="G_GINT64_FORMAT" value="&quot;li&quot;"/>
16+
<define name="G_GINT32_MODIFIER" value="&quot;&quot;"/>
17+
<define name="G_GINT64_MODIFIER" value="&quot;l&quot;"/>
18+
<define name="G_GSIZE_FORMAT" value="&quot;lu&quot;"/>
19+
<define name="G_GUINT32_FORMAT" value="&quot;u&quot;"/>
20+
<define name="G_GUINT64_FORMAT" value="&quot;lu&quot;"/>
1321
<!-- https://developer.gnome.org/glib/stable/glib-Miscellaneous-Macros.html -->
1422
<!-- https://github.com/GNOME/glib/blob/master/glib/gmacros.h -->
23+
<define name="G_GNUC_CHECK_VERSION(major, minor)" value="1"/>
1524
<define name="G_GNUC_BEGIN_IGNORE_DEPRECATIONS" value=""/>
1625
<define name="G_GNUC_END_IGNORE_DEPRECATIONS" value=""/>
26+
<define name="G_GNUC_DEPRECATED" value="__attribute__((__deprecated__))"/>
27+
<define name="G_GNUC_DEPRECATED_FOR(f)" value="__attribute__((deprecated(&quot;Use &quot; #f &quot; instead&quot;)))"/>
1728
<define name="G_GNUC_PRETTY_FUNCTION" value="__PRETTY_FUNCTION__"/>
1829
<define name="G_GNUC_PURE" value="__attribute__((__pure__))"/>
1930
<define name="G_GNUC_MALLOC" value="__attribute__((__malloc__))"/>
@@ -23052,6 +23063,10 @@
2305223063
<define name="GTK_IMAGE_ICON_NAME" value="1"/>
2305323064
<define name="GTK_IMAGE_GICON" value="2"/>
2305423065
<define name="GTK_IMAGE_PAINTABLE" value="3"/>
23066+
<!-- gtk/gtklevelbar.h -->
23067+
<define name="GTK_LEVEL_BAR_OFFSET_FULL" value="&quot;full&quot;"/>
23068+
<define name="GTK_LEVEL_BAR_OFFSET_HIGH" value="&quot;high&quot;"/>
23069+
<define name="GTK_LEVEL_BAR_OFFSET_LOW" value="&quot;low&quot;"/>
2305523070
<!-- gtk/gtk.h -->
2305623071
<define name="GTK_STOCK_ZOOM_IN" value="&quot;gtk-zoom-in&quot;"/>
2305723072
<define name="GTK_STOCK_ZOOM_FIT" value="&quot;gtk-zoom-fit&quot;"/>

0 commit comments

Comments
 (0)