ayttm-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Ayttm-commits] CVS: ayttm/src browser.c,1.12,1.13 browser.h,1.4,1.5


From: Philip S Tellis <address@hidden>
Subject: [Ayttm-commits] CVS: ayttm/src browser.c,1.12,1.13 browser.h,1.4,1.5
Date: Fri, 24 Jan 2003 00:53:24 -0500

Update of /cvsroot/ayttm/ayttm/src
In directory subversions:/tmp/cvs-serv3240/src

Modified Files:
        browser.c browser.h 
Log Message:
GtkWidget * -> void * (it was already this way in browser.h)

Index: browser.c
===================================================================
RCS file: /cvsroot/ayttm/ayttm/src/browser.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- browser.c   23 Jan 2003 23:07:21 -0000      1.12
+++ browser.c   24 Jan 2003 05:53:21 -0000      1.13
@@ -31,17 +31,16 @@
 #include "intl.h"
 
 #include <string.h>
-#include <gtk/gtk.h>
 
 #ifdef __MINGW32__
-#include <gdk/gdkwin32.h>
+# include <gdk/gdkwin32.h>
 #else
-#include <stdlib.h>
+# include <stdlib.h>
 #endif
 
 #ifdef _WIN32
-#include <shellapi.h>
-#include <process.h>
+# include <shellapi.h>
+# include <process.h>
 #endif
 
 #include "prefs.h"
@@ -50,7 +49,7 @@
 
 #ifndef _WIN32
                
-void open_url(GtkWidget *w, char *url) {
+void open_url(void *w, char *url) {
        char *browser = NULL;
        char command[1281];
        char *url_pos = NULL;
@@ -117,4 +116,4 @@
        ShellExecute(GDK_DRAWABLE_XID(w),"open",url,NULL,"C:\\",0);
 }
 
-#endif // _WIN32
+#endif

Index: browser.h
===================================================================
RCS file: /cvsroot/ayttm/ayttm/src/browser.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- browser.h   23 Jan 2003 23:07:21 -0000      1.4
+++ browser.h   24 Jan 2003 05:53:21 -0000      1.5
@@ -26,17 +26,9 @@
 
 #ifdef __MINGW32__
 
-#ifdef __IN_PLUGIN__
-#define extern __declspec(dllimport)
-#endif
-
 #include <gdk/gdk.h>
 
 void open_url(GdkWindow *w, char *url);
-
-#ifdef __IN_PLUGIN__
-#define extern extern
-#endif
 
 #else
 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]