pkgsrc/devel/libdbusmenu-tools/patches/patch-tools_testapp_main.c
youri 8e5f44a6ef Import libdbusmenu-tools-12.10.2 as devel/libdbusmenu-tools.
A small little library that was created by pulling out some comon code out of
indicator-applet. It passes a menu structure across DBus so that a program can
create a menu simply without worrying about how it is displayed on the other
side of the bus.

This package provides development tools.
2016-05-20 22:07:41 +00:00

15 lines
368 B
C

$NetBSD: patch-tools_testapp_main.c,v 1.1 2016/05/20 22:07:41 youri Exp $
Remove deprecated function.
--- tools/testapp/main.c.orig 2012-10-03 15:54:22.000000000 +0000
+++ tools/testapp/main.c
@@ -135,8 +135,6 @@ name_lost (GDBusConnection * connection,
int main (int argc, char ** argv)
{
- g_type_init();
-
if (argc != 2) {
g_warning(USAGE);
return 1;