build: fixing deprecations from gtk+-3.10
This commit is contained in:
@@ -280,7 +280,7 @@ gcal_edit_dialog_constructed (GObject* object)
|
||||
action_area = gtk_dialog_get_action_area (GTK_DIALOG (object));
|
||||
gtk_box_set_spacing (GTK_BOX (action_area), 6);
|
||||
|
||||
button = gtk_button_new_from_stock (GTK_STOCK_CANCEL);
|
||||
button = gtk_button_new_with_label (_("Cancel"));
|
||||
gtk_size_group_add_widget (size_group, button);
|
||||
g_object_set_data (G_OBJECT (button),
|
||||
"response",
|
||||
|
||||
+1
-1
@@ -1215,7 +1215,7 @@ gcal_window_edit_dialog_responded (GtkDialog *dialog,
|
||||
gtk_container_add (GTK_CONTAINER (grid),
|
||||
gtk_label_new (_("Event deleted")));
|
||||
|
||||
undo_button = gtk_button_new_from_stock (GTK_STOCK_UNDO);
|
||||
undo_button = gtk_button_new_with_label (_("Undo"));
|
||||
gtk_container_add (GTK_CONTAINER (grid), undo_button);
|
||||
|
||||
gtk_container_add (GTK_CONTAINER (priv->noty), grid);
|
||||
|
||||
Reference in New Issue
Block a user