summaryrefslogtreecommitdiff
path: root/gdk/linux-fb/gdkdnd-fb.c
diff options
context:
space:
mode:
authorAlexander Larsson <alla@lysator.liu.se>2000-11-07 14:18:47 +0000
committerAlexander Larsson <alexl@src.gnome.org>2000-11-07 14:18:47 +0000
commit224f6ec534c4ddf3479477e58f0204e5eed042cd (patch)
tree626cd02b8a4449bde0006871196615df428b4c52 /gdk/linux-fb/gdkdnd-fb.c
parent69f42512fa819749e1a2ca9f27a1b940ca8fc0d6 (diff)
downloadgtk+-224f6ec534c4ddf3479477e58f0204e5eed042cd.tar.gz
use g_object_new() instead of g_type_create_instance() which is a private
2000-11-07 Alexander Larsson <alla@lysator.liu.se> * gdk/linux-fb/gdkcolor-fb.c, gdk/linux-fb/gdkdnd-fb.c, gdk/linux-fb/gdkgc-fb.c, gdk/linux-fb/gdkimage-fb.c, gdk/linux-fb/gdkpango-fb.c, gdk/linux-fb/gdkpixmap-fb.c, gdk/linux-fb/gdkwindow-fb.c: use g_object_new() instead of g_type_create_instance() which is a private function for fundamental type implementations. * gdk/linux-fb/gdkinput-ps2.c: Use MEDIUMRAW instead of RAW keycodes. Remove keyboard state-table instead just store the current modifier state. Add a (somewhat broken) keyboard input parser for XLATE mode too, if we couldn't use MEDIUMRAW. Rename exported function gdk_input_ps2_get_mouseinfo to gdk_input_get_mouseinfo. * gdk/linux-fb/gdkmain-fb.c, gdk/linux-fb/gdkprivate-fb.h, gdk/linux-fb/gdkwindow-fb.c: gdk_input_ps2_get_mouseinfo was renamed to gdk_input_get_mouseinfo.
Diffstat (limited to 'gdk/linux-fb/gdkdnd-fb.c')
-rw-r--r--gdk/linux-fb/gdkdnd-fb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdk/linux-fb/gdkdnd-fb.c b/gdk/linux-fb/gdkdnd-fb.c
index 6d18fe4474..4a66837716 100644
--- a/gdk/linux-fb/gdkdnd-fb.c
+++ b/gdk/linux-fb/gdkdnd-fb.c
@@ -127,7 +127,7 @@ gdk_drag_context_get_type (void)
GdkDragContext *
gdk_drag_context_new (void)
{
- return (GdkDragContext *)g_type_create_instance(gdk_drag_context_get_type());
+ return (GdkDragContext *)g_object_new(gdk_drag_context_get_type (), NULL);
}
void