gtkglarea r101 - trunk/examples



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]