mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-12-25 15:35:35 +00:00
574aa2ee06
* configure.in : check for panelapplet in enable_gnome and remove all the stuff for a separate panelapplet-sharp assembly. * Makefile.am : remove panelapplet dir from build. * gnome/BonoboUIVerb.cs : moved from panelapplet. * gnome/Gnome.metadata : add rules from panelapplet. * gnome/Makefile.am : add new files. * gnome/PanelApplet.custom : moved from panelapplet. * gnome/PanelAppletFactory.cs : moved from panelapplet. * gnome/glue/panelapplet.c : moved from panelapplet. * gnome/glue/Makefile.am : add new file. * gnomedb/GnomeDb.metadata : hide a newly parsed "obsolete" type. * gtk/Gtk.metadata : hide a newly parsed "obsolete" callback type. * panelapplet : kill dir. * parser/gapi2xml.pl : update callback name sanity check. * sources/gtk-sharp-sources.xml : move panelapplet parse into gnome. * */*-api.raw : regen. svn path=/trunk/gtk-sharp/; revision=38509
26 lines
445 B
C#
26 lines
445 B
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
|
|
namespace Gnome
|
|
{
|
|
|
|
public delegate void ContextMenuItemCallback ();
|
|
|
|
[StructLayout (LayoutKind.Sequential)]
|
|
public struct BonoboUIVerb
|
|
{
|
|
string verb;
|
|
ContextMenuItemCallback callback;
|
|
IntPtr user_data;
|
|
IntPtr dummy;
|
|
|
|
public BonoboUIVerb (string name, ContextMenuItemCallback cb)
|
|
{
|
|
verb = name;
|
|
callback = cb;
|
|
user_data = IntPtr.Zero;
|
|
dummy = IntPtr.Zero;
|
|
}
|
|
}
|
|
}
|