=== modified file 'docs/reference/gtk/gtk-sections.txt'
--- docs/reference/gtk/gtk-sections.txt	2008-06-03 17:39:20 +0000
+++ docs/reference/gtk/gtk-sections.txt	2008-06-07 02:33:41 +0000
@@ -5426,6 +5426,7 @@
 gtk_window_set_role
 gtk_window_get_decorated
 gtk_window_get_deletable
+gtk_window_get_default
 gtk_window_get_default_icon_list
 gtk_window_get_default_size
 gtk_window_get_destroy_with_parent

=== modified file 'gtk/gtk.symbols'
--- gtk/gtk.symbols	2008-06-03 17:39:20 +0000
+++ gtk/gtk.symbols	2008-06-07 02:34:26 +0000
@@ -4846,6 +4846,7 @@
 gtk_window_get_accept_focus
 gtk_window_get_decorated
 gtk_window_get_deletable
+gtk_window_get_default
 gtk_window_get_default_icon_list
 gtk_window_get_default_size
 gtk_window_get_destroy_with_parent

=== modified file 'gtk/gtkwindow.c'
--- gtk/gtkwindow.c	2008-06-06 09:55:06 +0000
+++ gtk/gtkwindow.c	2008-06-08 01:51:41 +0000
@@ -1512,6 +1512,26 @@
 	}
     }
 }
+/**
+ * gtk_window_get_default:
+ * @window: a #GtkWindow
+ * 
+ * The default widget is the widget that's activated when the user
+ * presses Enter in a dialog (for example). This function gets the 
+ * default widget for a #GtkWindow. You can set this widget with 
+ * gtk_window_set_default().
+ * 
+ * Return value: the default widget for the @window, or %NULL if there's none.
+ * 
+ * Since: 2.14
+ **/
+GtkWidget *
+gtk_window_get_default (GtkWindow *window)
+{
+  g_return_val_if_fail (GTK_IS_WINDOW (window), NULL);
+
+  return window->default_widget;
+}
 
 void
 gtk_window_set_policy (GtkWindow *window,

=== modified file 'gtk/gtkwindow.h'
--- gtk/gtkwindow.h	2008-05-28 15:35:43 +0000
+++ gtk/gtkwindow.h	2008-06-07 02:29:15 +0000
@@ -202,6 +202,7 @@
 GtkWidget *gtk_window_get_focus                (GtkWindow           *window);
 void       gtk_window_set_default              (GtkWindow           *window,
 						GtkWidget           *default_widget);
+GtkWidget *gtk_window_get_default              (GtkWindow           *window);
 gboolean   gtk_window_activate_default	       (GtkWindow           *window);
 
 void       gtk_window_set_transient_for        (GtkWindow           *window, 

