diff options
author | Unia <jthidskes@live.nl> | 2013-04-12 19:32:24 +0200 |
---|---|---|
committer | Unia <jthidskes@live.nl> | 2013-04-12 19:32:24 +0200 |
commit | 7d096ef97408921b11524f9b9a4275e369e6c5ba (patch) | |
tree | ea72c5e690b53f6320a36bb759017f42c7bd4298 | |
parent | 7e0ab1aae4487241555f24de512a578deaecfecf (diff) |
dropped argc and argv
-rw-r--r-- | PKGBUILD | 2 | ||||
-rw-r--r-- | gstopwatch.c | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -2,7 +2,7 @@ pkgname=gstopwatch-git _gitname=gstopwatch -pkgver=2013.04.10 +pkgver=2013.04.11 pkgrel=1 pkgdesc="A simple stopwatch, written in GTK3" arch=('i686' 'x86_64') diff --git a/gstopwatch.c b/gstopwatch.c index a354ea5..eb3d0cc 100644 --- a/gstopwatch.c +++ b/gstopwatch.c @@ -109,12 +109,12 @@ void on_funcs_button_clicked (void) { } } -int main (int argc, char *argv[]) { +int main (void) { GtkWidget *window, *vbox, *hbox, *scroll; GtkTreeViewColumn *column; GtkCellRenderer *renderer; - gtk_init(&argc, &argv); + gtk_init(NULL, NULL); vbox = gtk_box_new(GTK_ORIENTATION_VERTICAL, 5); hbox = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 5); |