From 59c27f2b0e24df03092bbd9a1f7acf89c93164db Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Thu, 2 Jan 2003 21:56:08 +0000 Subject: [PATCH] Document that it may return NULL. (#102069) 2003-01-02 Matthias Clasen * gtk/gtkwindow.c (gtk_window_get_focus): Document that it may return NULL. (#102069) --- ChangeLog | 5 +++++ ChangeLog.pre-2-10 | 5 +++++ ChangeLog.pre-2-4 | 5 +++++ ChangeLog.pre-2-6 | 5 +++++ ChangeLog.pre-2-8 | 5 +++++ gtk/gtkwindow.c | 2 +- 6 files changed, 26 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 4b9fcaec27..152e384fa9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2003-01-02 Matthias Clasen + + * gtk/gtkwindow.c (gtk_window_get_focus): Document that it may + return NULL. (#102069) + 2003-01-01 Matthias Clasen * gtk/fnmatch.c (FNMATCH_TEST_CASES): #undef, since having diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 4b9fcaec27..152e384fa9 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,8 @@ +2003-01-02 Matthias Clasen + + * gtk/gtkwindow.c (gtk_window_get_focus): Document that it may + return NULL. (#102069) + 2003-01-01 Matthias Clasen * gtk/fnmatch.c (FNMATCH_TEST_CASES): #undef, since having diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index 4b9fcaec27..152e384fa9 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,3 +1,8 @@ +2003-01-02 Matthias Clasen + + * gtk/gtkwindow.c (gtk_window_get_focus): Document that it may + return NULL. (#102069) + 2003-01-01 Matthias Clasen * gtk/fnmatch.c (FNMATCH_TEST_CASES): #undef, since having diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index 4b9fcaec27..152e384fa9 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,8 @@ +2003-01-02 Matthias Clasen + + * gtk/gtkwindow.c (gtk_window_get_focus): Document that it may + return NULL. (#102069) + 2003-01-01 Matthias Clasen * gtk/fnmatch.c (FNMATCH_TEST_CASES): #undef, since having diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index 4b9fcaec27..152e384fa9 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,8 @@ +2003-01-02 Matthias Clasen + + * gtk/gtkwindow.c (gtk_window_get_focus): Document that it may + return NULL. (#102069) + 2003-01-01 Matthias Clasen * gtk/fnmatch.c (FNMATCH_TEST_CASES): #undef, since having diff --git a/gtk/gtkwindow.c b/gtk/gtkwindow.c index 1d3dfea023..426386c39e 100644 --- a/gtk/gtkwindow.c +++ b/gtk/gtkwindow.c @@ -1520,7 +1520,7 @@ gtk_window_activate_focus (GtkWindow *window) * is not focused then GTK_WIDGET_HAS_FOCUS (widget) will * not be %TRUE for the widget. * - * Return value: the currently focused widget. + * Return value: the currently focused widget, or %NULL if there is none. **/ GtkWidget * gtk_window_get_focus (GtkWindow *window)