X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;ds=sidebyside;f=shell%2Fev-navigation-action-widget.c;h=c3de6958845d26609c563f0a98b4f215c1629967;hb=c70f6b907a881c731725a54eb72b516213dea6c7;hp=465a474fe071597d1b63e2b17a0f1c88f3992cac;hpb=80aa207c49dda77a013f0df2a2e2a393062a96b6;p=evince.git diff --git a/shell/ev-navigation-action-widget.c b/shell/ev-navigation-action-widget.c index 465a474f..c3de6958 100644 --- a/shell/ev-navigation-action-widget.c +++ b/shell/ev-navigation-action-widget.c @@ -14,7 +14,7 @@ * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ #include "config.h" @@ -134,7 +134,7 @@ menu_position_func (GtkMenu *menu, gint monitor_num; GdkScreen *screen; - gtk_widget_size_request (GTK_WIDGET (button->menu), &menu_req); + gtk_widget_get_preferred_size (GTK_WIDGET (button->menu), &menu_req, NULL); direction = gtk_widget_get_direction (widget); screen = gtk_widget_get_screen (GTK_WIDGET (menu));