From 3234400116ebc0b96b7a64198daef070e1696edb Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Fri, 27 Jun 2008 10:53:00 +0000 Subject: [PATCH] 2008-06-27 12:51 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * contrib/hbgf/hbgfgtk/creamenu.c - Removed deprecated pre GTK2 API call with no equivalent in newer versions. If someone needs the menu shadow functionality for GTK1, please give some hint how to guard it, and we can add it back. --- harbour/ChangeLog | 8 ++++++++ harbour/contrib/hbgf/hbgfgtk/creamenu.c | 1 - 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 880992ef5c..dee9d47299 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -8,6 +8,14 @@ 2008-12-31 13:59 UTC+0100 Foo Bar */ +2008-06-27 12:51 UTC+0200 Viktor Szakats (harbour.01 syenar hu) + * contrib/hbgf/hbgfgtk/creamenu.c + - Removed deprecated pre GTK2 API call with no equivalent + in newer versions. + If someone needs the menu shadow functionality for GTK1, + please give some hint how to guard it, and we can add it + back. + 2008-06-27 12:24 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * include/hbstdgen.ch * include/hbver.h diff --git a/harbour/contrib/hbgf/hbgfgtk/creamenu.c b/harbour/contrib/hbgf/hbgfgtk/creamenu.c index 63665b7074..864a3903fb 100644 --- a/harbour/contrib/hbgf/hbgfgtk/creamenu.c +++ b/harbour/contrib/hbgf/hbgfgtk/creamenu.c @@ -74,7 +74,6 @@ HB_FUNC( HB_GTKCREATEMENUBAR ) if( Box ) { GtkWidget *MenuBar = gtk_menu_bar_new(); - gtk_menu_bar_set_shadow_type( GTK_MENU_BAR( MenuBar ), GTK_SHADOW_OUT ); gtk_box_pack_start( Box, MenuBar, FALSE, FALSE, 0 ); gtk_box_reorder_child( Box, MenuBar, 0 );