Deprecate GtkAction and GtkUIManager

It is recommended to use GAction et al and GtkBuilder.
This commit is contained in:
William Jon McCann
2013-06-28 11:27:19 -04:00
parent 32ce8fa60a
commit c96a1c4980
29 changed files with 727 additions and 143 deletions

View File

@ -16,6 +16,7 @@
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
*/
#define GDK_DISABLE_DEPRECATION_WARNINGS
#include <gtk/gtk.h>
/* Fixture */

View File

@ -349,7 +349,9 @@ test_uimanager_simple (void)
builder = builder_new_from_string (buffer, -1, NULL);
uimgr = gtk_builder_get_object (builder, "uimgr1");
G_GNUC_BEGIN_IGNORE_DEPRECATIONS;
g_assert (GTK_IS_UI_MANAGER (uimgr));
G_GNUC_END_IGNORE_DEPRECATIONS;
g_object_unref (builder);
builder = builder_new_from_string (buffer2, -1, NULL);