diff options
Diffstat (limited to 'gtk/gtkconstraint.c')
-rw-r--r-- | gtk/gtkconstraint.c | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/gtk/gtkconstraint.c b/gtk/gtkconstraint.c index 48a97eb00e..77ae83c4e4 100644 --- a/gtk/gtkconstraint.c +++ b/gtk/gtkconstraint.c @@ -387,25 +387,6 @@ gtk_constraint_new_constant (gpointer target, } /** - * gtk_constraint_get_target_widget: - * @constraint: a #GtkConstraint - * - * Retrieves the target widget for the @constraint. - * - * Returns: (transfer none) (nullable): a #GtkWidget - */ -GtkWidget * -gtk_constraint_get_target_widget (GtkConstraint *constraint) -{ - g_return_val_if_fail (GTK_IS_CONSTRAINT (constraint), NULL); - - if (GTK_IS_WIDGET (constraint->target)) - return GTK_WIDGET (constraint->target); - - return NULL; -} - -/** * gtk_constraint_get_target: * @constraint: a #GtkConstraint * @@ -441,25 +422,6 @@ gtk_constraint_get_target_attribute (GtkConstraint *constraint) } /** - * gtk_constraint_get_source_widget: - * @constraint: a #GtkConstraint - * - * Retrieves the source widget for the @constraint. - * - * Returns: (transfer none) (nullable): a #GtkWidget - */ -GtkWidget * -gtk_constraint_get_source_widget (GtkConstraint *constraint) -{ - g_return_val_if_fail (GTK_IS_CONSTRAINT (constraint), NULL); - - if (GTK_IS_WIDGET (constraint->source)) - return GTK_WIDGET (constraint->source); - - return NULL; -} - -/** * gtk_constraint_get_source: * @constraint: a #GtkConstraint * |