]> www.fi.muni.cz Git - evince.git/blobdiff - shell/ev-convert-metadata.c
[shell] Dialogues have no separators on gtk 3
[evince.git] / shell / ev-convert-metadata.c
index dc9fbe8adf028f9e70025f76cc1aa6424690af8c..5ee725c38c9a948c77cdce1bfee7f7b749ff298e 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>
@@ -164,7 +164,11 @@ show_progress_dialog (ConvertData *data)
 
        dialog = gtk_dialog_new_with_buttons (_("Converting metadata"),
                                              NULL,
+#if GTK_CHECK_VERSION (2, 90, 8)
+                                              0,
+#else
                                              GTK_DIALOG_NO_SEPARATOR,
+#endif
                                              GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
                                              NULL);
        action_area = gtk_dialog_get_action_area (GTK_DIALOG (dialog));