From 7d096ef97408921b11524f9b9a4275e369e6c5ba Mon Sep 17 00:00:00 2001 From: Unia Date: Fri, 12 Apr 2013 19:32:24 +0200 Subject: dropped argc and argv --- PKGBUILD | 2 +- gstopwatch.c | 4 ++-- 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); -- cgit v1.2.1