diff options
author | Lucas Rocha <lucasr@gnome.org> | 2007-05-14 21:26:08 +0000 |
---|---|---|
committer | Lucas Almeida Rocha <lucasr@src.gnome.org> | 2007-05-14 21:26:08 +0000 |
commit | adee9db56646cc297fd226db983d40f3ba0d4793 (patch) | |
tree | 467c9cea6ada89b472267c3d65a47be919c75867 /src/progress.c | |
parent | man page update (Fixes bug #436187). Patch from Sven Arvidsson (diff) | |
download | zenity-adee9db56646cc297fd226db983d40f3ba0d4793.tar.gz zenity-adee9db56646cc297fd226db983d40f3ba0d4793.tar.bz2 zenity-adee9db56646cc297fd226db983d40f3ba0d4793.zip |
general cleanups for build warnings (Fixes bug #416196). Patch from
2007-05-14 Lucas Rocha <lucasr@gnome.org>
* src/progress.c (zenity_progress_handle_stdin), src/option.c
(zenity_create_context), src/about.c, src/notification.c
(zenity_notification_handle_stdin): general cleanups for
build warnings (Fixes bug #416196). Patch from Kjartan
Maraas <kmaraas@gnome.org>.
svn path=/trunk/; revision=1208
Diffstat (limited to 'src/progress.c')
-rw-r--r-- | src/progress.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/progress.c b/src/progress.c index d14969b2..b8ac1fc8 100644 --- a/src/progress.c +++ b/src/progress.c @@ -135,7 +135,6 @@ zenity_progress_handle_stdin (GIOChannel *channel, if (condition != G_IO_IN) { /* We assume that we are done, so stop the pulsating and de-sensitize the buttons */ GtkWidget *button; - GtkWidget *progress_bar; button = glade_xml_get_widget (glade_dialog, "zenity_progress_ok_button"); gtk_widget_set_sensitive (button, TRUE); @@ -144,7 +143,6 @@ zenity_progress_handle_stdin (GIOChannel *channel, button = glade_xml_get_widget (glade_dialog, "zenity_progress_cancel_button"); gtk_widget_set_sensitive (button, FALSE); - progress_bar = glade_xml_get_widget (glade_dialog, "zenity_progress_bar"); gtk_progress_bar_set_fraction (GTK_PROGRESS_BAR (progress_bar), 1.0); if (progress_data->pulsate) { |