Update deprecated gtk3 code.
[terminatorX.git] / src / tX_panel.cc
index 582e632c5483e2534fb5413b8007a0bf894f5666..7784c2a5595a70429784167b2748a203c3f25e78 100644 (file)
@@ -68,7 +68,7 @@ tX_panel :: tX_panel (const char *name, GtkWidget *par)
        pixmap_min=tx_pixmap_widget(MINIMIZE);
        pixmap_max=tx_pixmap_widget(MAXIMIZE);
        labelbutton=gtk_label_new(name);
-       gtk_misc_set_alignment(GTK_MISC(labelbutton), 0, 0.5);
+       gtk_widget_set_halign(labelbutton, GTK_ALIGN_START);
        tX_panel_make_label_bold(labelbutton);
  
        button_box=gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 5);