camorama r344 - in trunk: . src
- From: herzi svn gnome org
- To: svn-commits-list gnome org
- Subject: camorama r344 - in trunk: . src
- Date: Wed, 28 May 2008 11:22:29 +0000 (UTC)
Author: herzi
Date: Wed May 28 11:22:28 2008
New Revision: 344
URL: http://svn.gnome.org/viewvc/camorama?rev=344&view=rev
Log:
2008-05-27 Sven Herzberg <sven imendio com>
dropped an unused parameter
* src/callbacks.c: (init_cam):
* src/callbacks.h:
* src/main.c: (main):
Modified:
trunk/ChangeLog
trunk/src/callbacks.c
trunk/src/callbacks.h
trunk/src/main.c
Modified: trunk/src/callbacks.c
==============================================================================
--- trunk/src/callbacks.c (original)
+++ trunk/src/callbacks.c Wed May 28 11:22:28 2008
@@ -666,7 +666,7 @@
cam->status = sb;
}
-void init_cam (GtkWidget * capture, cam * cam)
+void init_cam (cam * cam)
{
cam->pic =
mmap (0, cam->vid_buf.size, PROT_READ | PROT_WRITE,
Modified: trunk/src/callbacks.h
==============================================================================
--- trunk/src/callbacks.h (original)
+++ trunk/src/callbacks.h Wed May 28 11:22:28 2008
@@ -43,7 +43,7 @@
gint io_func (cam *, gint, GdkInputCondition);
void capture_func2 (GtkWidget *, cam *);
void capture_func (GtkWidget *, cam *);
-void init_cam (GtkWidget * capture, cam * cam);
+void init_cam (cam * cam);
gint timeout_capture_func (cam *);
gint fps (GtkWidget *);
gboolean timeout_func (cam * application);
Modified: trunk/src/main.c
==============================================================================
--- trunk/src/main.c (original)
+++ trunk/src/main.c Wed May 28 11:22:28 2008
@@ -245,7 +245,7 @@
if (cam->read == FALSE) {
pt2Function = timeout_func;
- init_cam (NULL, cam);
+ init_cam (cam);
} else {
printf ("using read()\n");
cam->pic =
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]