aboutsummaryrefslogtreecommitdiffstats
path: root/trace-compat.h
diff options
context:
space:
mode:
Diffstat (limited to 'trace-compat.h')
-rw-r--r--trace-compat.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/trace-compat.h b/trace-compat.h
index 1c9126d..ce7759d 100644
--- a/trace-compat.h
+++ b/trace-compat.h
@@ -22,6 +22,7 @@
22#define _TRACE_COMPAT_H 22#define _TRACE_COMPAT_H
23 23
24#include <gtk/gtk.h> 24#include <gtk/gtk.h>
25#include <stdarg.h>
25 26
26#define CALC_GTK_VERSION(maj, min, ext) ((maj << 16) + (min << 8) + ext) 27#define CALC_GTK_VERSION(maj, min, ext) ((maj << 16) + (min << 8) + ext)
27 28
@@ -43,12 +44,17 @@ void gtk_menu_item_set_label(GtkMenuItem *menu_item, const gchar *label);
43gdouble gtk_adjustment_get_page_size(GtkAdjustment *adj); 44gdouble gtk_adjustment_get_page_size(GtkAdjustment *adj);
44gdouble gtk_adjustment_get_upper(GtkAdjustment *adj); 45gdouble gtk_adjustment_get_upper(GtkAdjustment *adj);
45gdouble gtk_adjustment_get_lower(GtkAdjustment *adj); 46gdouble gtk_adjustment_get_lower(GtkAdjustment *adj);
47gboolean gtk_show_uri(GdkScreen *screen, const gchar *uri,
48 guint32 timestamp, GError **error);
49
50void g_string_vprintf(GString *string, const gchar *format, va_list args);
46 51
47#endif /* version < 2.14.0 */ 52#endif /* version < 2.14.0 */
48 53
49#if GTK_VERSION < CALC_GTK_VERSION(2,12,0) 54#if GTK_VERSION < CALC_GTK_VERSION(2,12,0)
50 55
51GtkWidget *gtk_tree_view_column_get_tree_view(GtkTreeViewColumn *col); 56GtkWidget *gtk_tree_view_column_get_tree_view(GtkTreeViewColumn *col);
57void gtk_widget_set_tooltip_text(GtkWidget *widget, const gchar *text);
52 58
53#endif /* version < 2.12.0 */ 59#endif /* version < 2.12.0 */
54 60