[gtk+] widget: Don't unnecessarily export function
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] widget: Don't unnecessarily export function
- Date: Mon, 27 Jun 2016 17:49:05 +0000 (UTC)
commit d52f6ff7102d1f0955a5c48e4209bca826625793
Author: Timm Bäder <mail baedert org>
Date: Sat Jun 11 07:53:33 2016 +0200
widget: Don't unnecessarily export function
_gtk_widget_get_translation_to_window is only used in gtkwidget.c
gtk/gtkwidget.c | 2 +-
gtk/gtkwidgetprivate.h | 5 -----
2 files changed, 1 insertions(+), 6 deletions(-)
---
diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c
index 5b87a33..b39e4d7 100644
--- a/gtk/gtkwidget.c
+++ b/gtk/gtkwidget.c
@@ -7432,7 +7432,7 @@ _gtk_widget_captured_event (GtkWidget *widget,
}
/* Returns TRUE if a translation should be done */
-gboolean
+static gboolean
_gtk_widget_get_translation_to_window (GtkWidget *widget,
GdkWindow *window,
int *x,
diff --git a/gtk/gtkwidgetprivate.h b/gtk/gtkwidgetprivate.h
index aa7dba6..4e26280 100644
--- a/gtk/gtkwidgetprivate.h
+++ b/gtk/gtkwidgetprivate.h
@@ -209,11 +209,6 @@ void _gtk_widget_get_preferred_size_and_baseline(GtkWidget *widget,
gint *natural_baseline);
gboolean _gtk_widget_has_baseline_support (GtkWidget *widget);
-gboolean _gtk_widget_get_translation_to_window (GtkWidget *widget,
- GdkWindow *window,
- int *x,
- int *y);
-
const gchar* _gtk_widget_get_accel_path (GtkWidget *widget,
gboolean *locked);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]