diff options
author | Tor Lillqvist <tml@iki.fi> | 2010-09-09 11:09:55 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2010-09-09 11:09:55 +0300 |
commit | f76fddb8a7d260dff2ce8b87965ab4f41006a592 (patch) | |
tree | a28063ec7b2b8d28c5ce1c5da1d3c0726b6f0af9 /gtk/gtkselection.c | |
parent | dd36afc2078dc0072b3dd4d17841b271b4ed770c (diff) | |
download | gtk+-f76fddb8a7d260dff2ce8b87965ab4f41006a592.tar.gz |
Use accessor functions in Win32-only code
Diffstat (limited to 'gtk/gtkselection.c')
-rw-r--r-- | gtk/gtkselection.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkselection.c b/gtk/gtkselection.c index d7a2f45e1b..ed618f81eb 100644 --- a/gtk/gtkselection.c +++ b/gtk/gtkselection.c @@ -893,7 +893,7 @@ gtk_selection_add_target (GtkWidget *widget, list = gtk_selection_target_list_get (widget, selection); gtk_target_list_add (list, target, 0, info); #ifdef GDK_WINDOWING_WIN32 - gdk_win32_selection_add_targets (widget->window, selection, 1, &target); + gdk_win32_selection_add_targets (gtk_widget_get_window (widget), selection, 1, &target); #endif } @@ -929,7 +929,7 @@ gtk_selection_add_targets (GtkWidget *widget, for (i = 0; i < ntargets; ++i) atoms[i] = gdk_atom_intern (targets[i].target, FALSE); - gdk_win32_selection_add_targets (widget->window, selection, ntargets, atoms); + gdk_win32_selection_add_targets (gtk_widget_get_window (widget), selection, ntargets, atoms); g_free (atoms); } #endif |