* gdk/EventClient.cs (gtksharp_gdk_event_client_get_time):
* glib/Object.cs (gtksharp_get_type_id): * glib/Value.cs (gtksharp_object_get_ref_count, g_value_take_boxed): * gnome/PrintContext.custom (gnome_print_concat, gnome_print_glyphlist, gnome_print_setdash): * gtk/NodeStore.cs (gtksharp_node_store_new, stamp): * gtk/NodeView.cs (gtk_tree_view_new_with_model): * gtk/Widget.custom (gtksharp_gtk_widget_set_allocation): * pango/LayoutLine.custom (g_free): Remove unused prototypes/fields svn path=/trunk/gtk-sharp/; revision=43406
This commit is contained in:
parent
30e9473cb7
commit
e1306617e5
9 changed files with 22 additions and 37 deletions
14
ChangeLog
14
ChangeLog
|
@ -1,3 +1,17 @@
|
|||
2005-04-21 Dan Winship <danw@novell.com>
|
||||
|
||||
* gdk/EventClient.cs (gtksharp_gdk_event_client_get_time):
|
||||
* glib/Object.cs (gtksharp_get_type_id):
|
||||
* glib/Value.cs (gtksharp_object_get_ref_count,
|
||||
g_value_take_boxed):
|
||||
* gnome/PrintContext.custom (gnome_print_concat,
|
||||
gnome_print_glyphlist, gnome_print_setdash):
|
||||
* gtk/NodeStore.cs (gtksharp_node_store_new, stamp):
|
||||
* gtk/NodeView.cs (gtk_tree_view_new_with_model):
|
||||
* gtk/Widget.custom (gtksharp_gtk_widget_set_allocation):
|
||||
* pango/LayoutLine.custom (g_free): Remove unused
|
||||
prototypes/fields
|
||||
|
||||
2005-04-21 Mike Kestner <mkestner@novell.com>
|
||||
|
||||
* Makefile.include : make mcs shaddup about 169.
|
||||
|
|
|
@ -26,9 +26,6 @@ namespace Gdk {
|
|||
|
||||
public class EventClient : Event {
|
||||
|
||||
[DllImport("gdksharpglue-2")]
|
||||
static extern uint gtksharp_gdk_event_client_get_time (IntPtr evt);
|
||||
|
||||
[DllImport("gdksharpglue-2")]
|
||||
static extern IntPtr gtksharp_gdk_event_client_get_message_type (IntPtr evt);
|
||||
|
||||
|
|
|
@ -224,9 +224,6 @@ namespace GLib {
|
|||
}
|
||||
}
|
||||
|
||||
[DllImport("glibsharpglue-2")]
|
||||
private static extern IntPtr gtksharp_get_type_id (IntPtr obj);
|
||||
|
||||
public static GLib.GType GType {
|
||||
get {
|
||||
return GType.Object;
|
||||
|
|
|
@ -149,9 +149,6 @@ namespace GLib {
|
|||
}
|
||||
|
||||
|
||||
[DllImport("glibsharpglue")]
|
||||
static extern int gtksharp_object_get_ref_count (IntPtr obj);
|
||||
|
||||
[DllImport("libgobject-2.0-0.dll")]
|
||||
static extern void g_value_set_object (ref Value val, IntPtr data);
|
||||
|
||||
|
@ -366,9 +363,6 @@ namespace GLib {
|
|||
[DllImport("libgobject-2.0-0.dll")]
|
||||
static extern bool g_type_is_a (IntPtr type, IntPtr is_a_type);
|
||||
|
||||
[DllImport("libgobject-2.0-0.dll")]
|
||||
static extern void g_value_take_boxed (ref Value val, IntPtr data);
|
||||
|
||||
public object Val
|
||||
{
|
||||
get {
|
||||
|
|
|
@ -141,11 +141,11 @@
|
|||
return (PrintReturnCode)gnome_print_setlinecap (Handle, captype);
|
||||
}
|
||||
|
||||
[DllImport("gnomeprint-2-2")]
|
||||
// FIXME!
|
||||
/*[DllImport("gnomeprint-2-2")]
|
||||
static extern int gnome_print_setdash (IntPtr raw, int n_values, IntPtr value, double offset);
|
||||
|
||||
// FIXME!
|
||||
/*public PrintReturnCode SetDash (double values[], double offset) {
|
||||
public PrintReturnCode SetDash (double values[], double offset) {
|
||||
return (PrintReturnCode)gnome_print_setdash (Handle, values.Length, values, offset);
|
||||
}*/
|
||||
|
||||
|
@ -170,9 +170,6 @@
|
|||
return (PrintReturnCode)gnome_print_eoclip (Handle);
|
||||
}
|
||||
|
||||
[DllImport("gnomeprint-2-2")]
|
||||
static extern int gnome_print_concat (IntPtr raw, IntPtr matrix);
|
||||
|
||||
[DllImport("gnomeprint-2-2")]
|
||||
static extern int gnome_print_scale (IntPtr raw, double sx, double sy);
|
||||
|
||||
|
@ -235,9 +232,6 @@
|
|||
return (PrintReturnCode) result;
|
||||
}
|
||||
|
||||
[DllImport("gnomeprint-2-2")]
|
||||
static extern int gnome_print_glyphlist (IntPtr raw, IntPtr glyphlist);
|
||||
|
||||
[DllImport("gnomeprint-2-2")]
|
||||
static extern int gnome_print_grayimage (IntPtr raw, IntPtr data, int width, int height, int rowstride);
|
||||
|
||||
|
|
|
@ -90,7 +90,6 @@ namespace Gtk {
|
|||
public ParentDelegate parent;
|
||||
}
|
||||
|
||||
int stamp;
|
||||
Hashtable node_hash = new IDHashtable ();
|
||||
GLib.GType[] ctypes;
|
||||
PropertyInfo[] getters;
|
||||
|
@ -285,9 +284,6 @@ namespace Gtk {
|
|||
gtksharp_node_store_set_tree_model_callbacks (Handle, ref tree_model_iface);
|
||||
}
|
||||
|
||||
[DllImport("gtksharpglue-2")]
|
||||
static extern IntPtr gtksharp_node_store_new ();
|
||||
|
||||
public NodeStore (Type node_type) : base (IntPtr.Zero)
|
||||
{
|
||||
CreateNativeObject (new string [0], new GLib.Value [0]);
|
||||
|
|
|
@ -30,9 +30,6 @@ namespace Gtk {
|
|||
|
||||
public class NodeView : TreeView {
|
||||
|
||||
[DllImport("libgtk-win32-2.0-0.dll")]
|
||||
static extern IntPtr gtk_tree_view_new_with_model(IntPtr model);
|
||||
|
||||
NodeStore store;
|
||||
|
||||
public NodeView (NodeStore store) : base (IntPtr.Zero)
|
||||
|
|
|
@ -56,9 +56,6 @@ private static void Widget_ParentSet (object o, ParentSetArgs args)
|
|||
[DllImport("gtksharpglue-2")]
|
||||
static extern IntPtr gtksharp_gtk_widget_get_allocation (IntPtr style);
|
||||
|
||||
[DllImport("gtksharpglue-2")]
|
||||
static extern void gtksharp_gtk_widget_set_allocation (IntPtr raw, Gdk.Rectangle rect);
|
||||
|
||||
public Gdk.Rectangle Allocation {
|
||||
get { return Gdk.Rectangle.New (gtksharp_gtk_widget_get_allocation (Handle)); }
|
||||
set { SizeAllocate (value); }
|
||||
|
|
|
@ -55,17 +55,16 @@ public int Length {
|
|||
}
|
||||
|
||||
|
||||
[DllImport("libglib-2.0-0.dll")]
|
||||
static extern void g_free (IntPtr raw);
|
||||
|
||||
#if NOT_BROKEN
|
||||
[DllImport("libpango-1.0-0.dll")]
|
||||
static extern void pango_layout_line_get_x_ranges(IntPtr raw, int start_index, int end_index, out IntPtr ranges_handle, out int n_ranges);
|
||||
#endif
|
||||
|
||||
public void GetXRanges(int start_index, int end_index, out int[][] ranges)
|
||||
{
|
||||
// FIXME: this is broke
|
||||
// FIXME: this is broken
|
||||
throw new NotImplementedException ();
|
||||
/*
|
||||
#if NOT_BROKEN
|
||||
int count;
|
||||
IntPtr array_ptr;
|
||||
pango_layout_line_get_x_ranges(Handle, start_index, end_index, out array_ptr, out count);
|
||||
|
@ -78,6 +77,6 @@ public void GetXRanges(int start_index, int end_index, out int[][] ranges)
|
|||
}
|
||||
Marshal.Copy (array_ptr, ranges, 0, count);
|
||||
g_free (array_ptr);
|
||||
*/
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue