From: Matthew Barnes Date: Sat, 30 Aug 2008 21:49:58 +0000 (+0000) Subject: Bug 549943 – gtk_tool_shell_get_relief_style() always returns X-Git-Url: http://pileus.org/git/?a=commitdiff_plain;h=0b3c056cb7cc6892f991f55d064db74e800583e2;p=~andy%2Fgtk Bug 549943 – gtk_tool_shell_get_relief_style() always returns 2008-08-30 Matthew Barnes Bug 549943 – gtk_tool_shell_get_relief_style() always returns GTK_RELIEF_NONE * gtk/gtktoolshell.c (gtk_tool_shell_get_relief_style): Return the correct relief style. svn path=/trunk/; revision=21252 --- diff --git a/ChangeLog b/ChangeLog index 77ae1fda0..9133e6985 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2008-08-30 Matthew Barnes + + Bug 549943 – gtk_tool_shell_get_relief_style() always returns + GTK_RELIEF_NONE + + * gtk/gtktoolshell.c (gtk_tool_shell_get_relief_style): Return + the correct relief style. + 2008-08-29 Björn Lindqvist Bug 437791 – Animation is played at the wrong speed diff --git a/gtk/gtktoolshell.c b/gtk/gtktoolshell.c index 248e634dd..90b3842ea 100644 --- a/gtk/gtktoolshell.c +++ b/gtk/gtktoolshell.c @@ -128,7 +128,7 @@ gtk_tool_shell_get_relief_style (GtkToolShell *shell) GtkToolShellIface *iface = GTK_TOOL_SHELL_GET_IFACE (shell); if (iface->get_relief_style) - iface->get_relief_style (shell); + return iface->get_relief_style (shell); return GTK_RELIEF_NONE; }