aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--PKGBUILD2
-rw-r--r--gstopwatch.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 5dc6fb9..4d03a12 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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);