gtkglarea r101 - trunk/examples
- From: samh svn gnome org
- To: svn-commits-list gnome org
- Subject: gtkglarea r101 - trunk/examples
- Date: Fri, 7 Mar 2008 17:26:04 +0000 (GMT)
Author: samh
Date: Fri Mar 7 17:26:03 2008
New Revision: 101
URL: http://svn.gnome.org/viewvc/gtkglarea?rev=101&view=rev
Log:
* Get rid of WinMain in viewlw.c and simple.c, the other examples don't
have it and work like a charm.
Modified:
trunk/examples/simple.c
trunk/examples/viewlw.c
Modified: trunk/examples/simple.c
==============================================================================
--- trunk/examples/simple.c (original)
+++ trunk/examples/simple.c Fri Mar 7 17:26:03 2008
@@ -77,19 +77,6 @@
return TRUE;
}
-#ifdef G_OS_WIN32
-
-/* for windows usage */
-int APIENTRY WinMain(HINSTANCE hInstance,
- HINSTANCE hPrevInstance,
- LPSTR lpszCmdLine,
- int nCmdshow
- )
-{
- return main (__argc, __argv);
-}
-
-#endif
int main(int argc, char **argv)
{
Modified: trunk/examples/viewlw.c
==============================================================================
--- trunk/examples/viewlw.c (original)
+++ trunk/examples/viewlw.c Fri Mar 7 17:26:03 2008
@@ -393,19 +393,6 @@
gtk_widget_show(filew);
}
-#ifdef G_OS_WIN32
-
-/* for windows usage */
-int APIENTRY WinMain(HINSTANCE hInstance,
- HINSTANCE hPrevInstance,
- LPSTR lpszCmdLine,
- int nCmdshow
- )
-{
- return main (__argc, __argv);
-}
-
-#endif
int main (int argc, char **argv)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]