summaryrefslogtreecommitdiff
path: root/gtk/gtkinfobar.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2019-02-04 12:44:55 -0500
committerMatthias Clasen <mclasen@redhat.com>2019-02-04 12:44:55 -0500
commit51207489813ebef7f143dcded70fab4a3edff612 (patch)
treee45da36bd09946f2dc21d44ab78510bf28c6c6c4 /gtk/gtkinfobar.c
parent25e199e7b789894f020ec740ff4a9419207f6a61 (diff)
downloadgtk+-51207489813ebef7f143dcded70fab4a3edff612.tar.gz
Drop GtkButtonBox
This widget does not seem worth keeping, and we want to get rid of child properties.
Diffstat (limited to 'gtk/gtkinfobar.c')
-rw-r--r--gtk/gtkinfobar.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/gtk/gtkinfobar.c b/gtk/gtkinfobar.c
index faf1e6af4d..2b469fbfcb 100644
--- a/gtk/gtkinfobar.c
+++ b/gtk/gtkinfobar.c
@@ -35,7 +35,6 @@
#include "gtkaccessible.h"
#include "gtkbuildable.h"
#include "gtkbuilderprivate.h"
-#include "gtkbbox.h"
#include "gtkbox.h"
#include "gtklabel.h"
#include "gtkbutton.h"
@@ -510,9 +509,6 @@ gtk_info_bar_add_action_widget (GtkInfoBar *info_bar,
g_warning ("Only 'activatable' widgets can be packed into the action area of a GtkInfoBar");
gtk_container_add (GTK_CONTAINER (priv->action_area), child);
- if (response_id == GTK_RESPONSE_HELP)
- gtk_button_box_set_child_secondary (GTK_BUTTON_BOX (priv->action_area),
- child, TRUE);
}
/**
@@ -975,10 +971,6 @@ gtk_info_bar_buildable_custom_finished (GtkBuildable *buildable,
G_OBJECT (info_bar));
g_signal_connect_closure_by_id (object, signal_id, 0, closure, FALSE);
}
-
- if (ad->response_id == GTK_RESPONSE_HELP)
- gtk_button_box_set_child_secondary (GTK_BUTTON_BOX (priv->action_area),
- GTK_WIDGET (object), TRUE);
}
g_slist_free_full (data->items, action_widget_info_free);