mate-desktop/mate-dialogs — pull request #3 by maxiaojun (2012-12-02 00:49:11+00:00)
Title: Fix deprecation

If I did it correctly, there should be no warning caused by
-DG_DISABLE_DEPRECATED
-DG_DISABLE_SINGLE_INCLUDES
-DGDK_DISABLE_DEPRECATED
-DGTK_DISABLE_DEPRECATED
-DGDK_DISABLE_SINGLE_INCLUDES
-DGTK_DISABLE_SINGLE_INCLUDES
now.

According to documentation the new functions used in this commit need GTK 2.24 so I bumped the requirement in configure.in . If this is not desired, I can make an additional commit that use version check macros to support older GTK versions.

A test case for changed code would be:
$ matedialog --entry foo bar