aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2012-06-14 14:28:58 +0200
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2012-06-14 14:28:58 +0200
commit266d6602381aba46a1f5de1b72206f20223f3868 (patch)
treea70f910f5a730e14eb324243652921404eec8975
parent9191a63845a7b8f4e0bb434619311ad8c387ab42 (diff)
downloadexperiment-player-266d6602381aba46a1f5de1b72206f20223f3868.tar.gz
fixed documentation
when setting signal handlers in a class structure (e.g. when deriving the class), there is no user_data argument
-rw-r--r--lib/gtk-vlc-player/gtk-vlc-player.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/lib/gtk-vlc-player/gtk-vlc-player.h b/lib/gtk-vlc-player/gtk-vlc-player.h
index 399f139..107ed09 100644
--- a/lib/gtk-vlc-player/gtk-vlc-player.h
+++ b/lib/gtk-vlc-player/gtk-vlc-player.h
@@ -68,23 +68,21 @@ typedef struct _GtkVlcPlayerClass {
/**
* Callback function to invoke when emitting the "time-changed"
- * signal. Do not set manually.
+ * signal.
*
* @param self \e GtkVlcPlayer widget that emitted the signal
* @param new_time New (current) position of playback in milliseconds
- * @param user_data Callback user data
*/
- void (*time_changed) (GtkVlcPlayer *self, gint64 new_time, gpointer user_data);
+ void (*time_changed) (GtkVlcPlayer *self, gint64 new_time);
/**
* Callback function to invoke when emitting the "length-changed"
- * signal. Do not set manually.
+ * signal.
*
* @param self \e GtkVlcPlayer widget that emitted the signal
* @param new_length New (current) length of media loaded into player (milliseconds)
- * @param user_data Callback user data
*/
- void (*length_changed) (GtkVlcPlayer *self, gint64 new_length, gpointer user_data);
+ void (*length_changed) (GtkVlcPlayer *self, gint64 new_length);
} GtkVlcPlayerClass;
/** @private */