diff options
author | Michael Natterer <mitch@gimp.org> | 2013-02-15 15:35:13 +0100 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2013-07-03 14:34:13 +0200 |
commit | c0ea0b5aadbde2be83997fb7e8006c161f209d02 (patch) | |
tree | 049c87bfffdcb8d9235f7f61fe7d8b36ae347b07 /gtk/gtkwidget.h | |
parent | d4607be00375d505fe082ee95ba42fc17bbbf57f (diff) | |
download | gtk+-c0ea0b5aadbde2be83997fb7e8006c161f209d02.tar.gz |
gtk: add gtk_widget_get_scale_factor()
Diffstat (limited to 'gtk/gtkwidget.h')
-rw-r--r-- | gtk/gtkwidget.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtkwidget.h b/gtk/gtkwidget.h index b17a15d895..72082b0fb1 100644 --- a/gtk/gtkwidget.h +++ b/gtk/gtkwidget.h @@ -848,6 +848,8 @@ GDK_AVAILABLE_IN_ALL GdkScreen * gtk_widget_get_screen (GtkWidget *widget); GDK_AVAILABLE_IN_ALL gboolean gtk_widget_has_screen (GtkWidget *widget); +GDK_AVAILABLE_IN_3_10 +gint gtk_widget_get_scale_factor (GtkWidget *widget); GDK_AVAILABLE_IN_ALL GdkDisplay * gtk_widget_get_display (GtkWidget *widget); GDK_AVAILABLE_IN_ALL |