aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUnia <jthidskes@live.nl>2013-04-12 19:32:24 +0200
committerUnia <jthidskes@live.nl>2013-04-12 19:32:24 +0200
commit7d096ef97408921b11524f9b9a4275e369e6c5ba (patch)
treeea72c5e690b53f6320a36bb759017f42c7bd4298
parent7e0ab1aae4487241555f24de512a578deaecfecf (diff)
dropped argc and argv
-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);