[MPlayer-cvslog] r38486 - trunk/gui/gtk-compat.h

ib subversion at mplayerhq.hu
Tue Apr 30 11:32:56 EEST 2024


Author: ib
Date: Tue Apr 30 11:32:56 2024
New Revision: 38486

Log:
Add a file for GTK compatibility definitions.

In order to remain compatible with the minimum GTK+ requirement,
while also benefiting from changes or improvements in later GTK+
versions, it is necessary to "translate" between these versions.

Added:
   trunk/gui/gtk-compat.h

Added: trunk/gui/gtk-compat.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ trunk/gui/gtk-compat.h	Tue Apr 30 11:32:56 2024	(r38486)
@@ -0,0 +1,29 @@
+/*
+ * This file is part of MPlayer.
+ *
+ * MPlayer is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * MPlayer is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with MPlayer; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ */
+
+/**
+ * @file
+ * @brief GTK compatibility definitions
+ */
+
+#ifndef GTK_COMPAT_H
+#define GTK_COMPAT_H
+
+#include <gtk/gtk.h>
+
+#endif


More information about the MPlayer-cvslog mailing list