sinek/include gtkxine.h,1.7,1.8
[email protected] Sun, 19 Jan 2003 00:35:37 -0800
| Newsgroups | gmane.comp.video.sinek.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/sinek/sinek/include
In directory sc8-pr-cvs1:/tmp/cvs-serv16716/include
Modified Files:
gtkxine.h
Log Message:
get rid of compile warnings
Index: gtkxine.h
===================================================================
RCS file: /cvsroot/sinek/sinek/include/gtkxine.h,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- gtkxine.h 19 Jan 2003 05:59:07 -0000 1.7
+++ gtkxine.h 19 Jan 2003 08:35:34 -0000 1.8
@@ -203,7 +203,7 @@
GtkXineConfigType gtk_xine_config_get_first (GtkXine *xine, const char **key, const void **value);
GtkXineConfigType gtk_xine_config_get_next (GtkXine *xine, const char *key, const char **nextkey, const void **value);
int gtk_xine_config_get_min_max (GtkXine *xine, const char *key, int *min, int *max);
-int gtk_xine_config_get_enums (GtkXine *xine, const char *key, const char ***enums);
+int gtk_xine_config_get_enums (GtkXine *xine, const char *key, char ***enums);
/* media handling */
@@ -252,11 +252,7 @@
int gtk_xine_set_volume (GtkXine *xine, int volume);
int gtk_xine_get_volume (GtkXine *xine);
-
-static inline int gtk_xine_adjust_volume (GtkXine *xine, int level)
-{
- return gtk_xine_set_volume (xine, gtk_xine_get_volume (xine) + level);
-}
+#define gtk_xine_adjust_volume(x, l) gtk_xine_set_volume ((x), gtk_xine_get_volume ((x)) + l)
int gtk_xine_set_mute (GtkXine *xine, int muted);
int gtk_xine_get_mute (GtkXine *xine);
-------------------------------------------------------
This SF.NET email is sponsored by: Thawte.com - A 128-bit supercerts will
allow you to extend the highest allowed 128 bit encryption to all your
clients even if they use browsers that are limited to 40 bit encryption.
Get a guide here:http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0030en