]> www.fi.muni.cz Git - evince.git/blobdiff - shell/ev-convert-metadata.c
[gimpcellrenderertoggle] Fix compile warnings
[evince.git] / shell / ev-convert-metadata.c
index 9f24ed01a47cbd19c64d016f6f822a2160adae5d..44a71b772bf314774c15222eb52d1a37870245df 100644 (file)
@@ -15,7 +15,7 @@
  *
  * You should have received a copy of the GNU General Public License
  * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  */
 
 //#include <config.h>
@@ -156,6 +156,7 @@ static void
 show_progress_dialog (ConvertData *data)
 {
        GtkWidget *dialog;
+       GtkWidget *action_area;
        GtkWidget *vbox, *pbox;
        GtkWidget *label;
        GtkWidget *progress;
@@ -163,12 +164,13 @@ show_progress_dialog (ConvertData *data)
 
        dialog = gtk_dialog_new_with_buttons (_("Converting metadata"),
                                              NULL,
-                                             GTK_DIALOG_NO_SEPARATOR,
+                                              0,
                                              GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
                                              NULL);
+       action_area = gtk_dialog_get_action_area (GTK_DIALOG (dialog));
        gtk_container_set_border_width (GTK_CONTAINER (dialog), 5);
-       gtk_container_set_border_width (GTK_CONTAINER (GTK_DIALOG (dialog)->action_area), 5);
-       gtk_box_set_spacing (GTK_BOX (GTK_DIALOG (dialog)->action_area), 6);
+       gtk_container_set_border_width (GTK_CONTAINER (action_area), 5);
+       gtk_box_set_spacing (GTK_BOX (action_area), 6);
 
        vbox = gtk_dialog_get_content_area (GTK_DIALOG (dialog));
        gtk_box_set_spacing (GTK_BOX (vbox), 12);