[MPlayer-cvslog] r38503 - trunk/gui/dialog/menu.c

ib subversion at mplayerhq.hu
Wed May 1 16:20:24 EEST 2024


Author: ib
Date: Wed May  1 16:20:23 2024
New Revision: 38503

Log:
Replace gtk_menu_item_right_justify() with gtk_menu_item_set_right_justified().

gtk_menu_item_right_justify() was deprecated even before GTK+ 2.0.

Modified:
   trunk/gui/dialog/menu.c

Modified: trunk/gui/dialog/menu.c
==============================================================================
--- trunk/gui/dialog/menu.c	Wed May  1 16:16:35 2024	(r38502)
+++ trunk/gui/dialog/menu.c	Wed May  1 16:20:23 2024	(r38503)
@@ -90,7 +90,7 @@ static GtkWidget * AddMenuCheckItem( Gtk
  gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(Item),state);
  g_signal_connect_swapped( G_OBJECT(Item),"activate",
    G_CALLBACK(ActivateMenuItem), GINT_TO_POINTER(message) );
- gtk_menu_item_right_justify (GTK_MENU_ITEM (Item));
+ gtk_menu_item_set_right_justified(GTK_MENU_ITEM(Item), TRUE);
  gtk_widget_show_all(Item);
 
  return Item;
@@ -125,7 +125,7 @@ static GtkWidget * AddMenuItem( GtkWidge
  g_signal_connect_swapped( G_OBJECT(Item),"activate",
    G_CALLBACK(ActivateMenuItem), GINT_TO_POINTER(message) );
 
- gtk_menu_item_right_justify (GTK_MENU_ITEM (Item));
+ gtk_menu_item_set_right_justified(GTK_MENU_ITEM(Item), TRUE);
  gtk_widget_show_all(Item);
  return Item;
 }


More information about the MPlayer-cvslog mailing list