X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;f=shell%2Fev-navigation-action.c;h=b34c37892b781ff12573546366c854665cd28af7;hb=a57c4df4be3d2a2acb3d2b8a205cf7b9b49a816d;hp=6a5e3a522ddce0623b10baaf7123ad21539566d9;hpb=4936778a72f9e17d3bc53d52754a6d1a8ad345df;p=evince.git diff --git a/shell/ev-navigation-action.c b/shell/ev-navigation-action.c index 6a5e3a52..b34c3789 100644 --- a/shell/ev-navigation-action.c +++ b/shell/ev-navigation-action.c @@ -14,23 +14,18 @@ * * 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" +#include +#include + #include "ev-navigation-action.h" #include "ev-navigation-action-widget.h" -#include -#include -#include -#include -#include -#include -#include -#include enum { @@ -107,11 +102,11 @@ new_history_menu_item (EvNavigationAction *action, title = ev_link_get_title (link); item = gtk_image_menu_item_new_with_label (title); - gtk_label_set_use_markup (GTK_LABEL (gtk_bin_get_child (GTK_BIN (item))), TRUE); + label = GTK_LABEL (gtk_bin_get_child (GTK_BIN (item))); + gtk_label_set_use_markup (label, TRUE); g_object_set_data (G_OBJECT (item), "index", GINT_TO_POINTER (index)); - label = GTK_LABEL (GTK_BIN (item)->child); gtk_label_set_ellipsize (label, PANGO_ELLIPSIZE_END); gtk_label_set_max_width_chars (label, MAX_LABEL_LENGTH);