diff options
author | Patrick Kursawe <phosphan@gentoo.org> | 2004-10-06 09:17:28 +0000 |
---|---|---|
committer | Patrick Kursawe <phosphan@gentoo.org> | 2004-10-06 09:17:28 +0000 |
commit | 7f051ff58e6bd5543826917832de1f3141503f0d (patch) | |
tree | bf109cf1e00561f7a9a3e04602456f280a8503fa /media-video/nvclock/files | |
parent | version bump (bug #65588) (diff) | |
download | historical-7f051ff58e6bd5543826917832de1f3141503f0d.tar.gz historical-7f051ff58e6bd5543826917832de1f3141503f0d.tar.bz2 historical-7f051ff58e6bd5543826917832de1f3141503f0d.zip |
Fixing bug #38251
Diffstat (limited to 'media-video/nvclock/files')
-rw-r--r-- | media-video/nvclock/files/callbacks.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/media-video/nvclock/files/callbacks.patch b/media-video/nvclock/files/callbacks.patch new file mode 100644 index 000000000000..2e996bf407d1 --- /dev/null +++ b/media-video/nvclock/files/callbacks.patch @@ -0,0 +1,33 @@ +--- src/gtk/callbacks.c.old 2004-10-05 18:57:05 -0400 ++++ src/gtk/callbacks.c 2004-10-05 18:58:40 -0400 +@@ -36,11 +36,12 @@ + { + va_list arg; + char* message; ++ GtkWidget *dialog; ++ + va_start(arg, format); + + message = g_strdup_vprintf(format, arg); + +- GtkWidget *dialog; + switch(code) + { + case ERROR: +@@ -106,6 +107,7 @@ + + void timer() + { ++ gint result; + GtkWidget *label; + Timeout *timeout; + timeout = g_malloc(sizeof(Timeout)); +@@ -126,7 +128,7 @@ + /* Create the real timeout */ + timeout->timeout_id = g_timeout_add(1000, timeout_callback, timeout); + +- gint result = gtk_dialog_run(GTK_DIALOG(timeout->dialog)); ++ result = gtk_dialog_run(GTK_DIALOG(timeout->dialog)); + + /* Stop the timer because we got an answer back */ + g_source_remove(timeout->timeout_id); |