From: Paul Cornett Date: Tue, 30 Mar 2010 16:14:11 +0000 (+0000) Subject: Remove unnecessary declarations. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/38442edb48ed70bb752b536b7233a47e4d6ab69d Remove unnecessary declarations. Contrary to the comment, they are not used often, in fact only once each and in the same file. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63805 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/gtk/private.h b/include/wx/gtk/private.h index fdeaf7f036..b63479d372 100644 --- a/include/wx/gtk/private.h +++ b/include/wx/gtk/private.h @@ -86,25 +86,6 @@ extern const gchar *wx_pango_version_check(int major, int minor, int micro); #define wxGTK_CONV_BACK_SYS(s) wxConvertFromGTK((s)) #endif -// Some deprecated GTK+ prototypes we still use often -// FIXME: Don't use them if possible. -extern "C" { - -// Deprecated since GTK+-1.3.7: -// Trivial wrapper around gtk_window_move, with some side effects we seem to rely on -void gtk_widget_set_uposition (GtkWidget *widget, - gint x, - gint y); - -// We rely on the allow_shrink parameter in one place -void gtk_window_set_policy (GtkWindow *window, - gint allow_shrink, - gint allow_grow, - gint auto_shrink); - -} // extern "C" - - // ---------------------------------------------------------------------------- // various private helper functions // ----------------------------------------------------------------------------