util: Drop unused function

This commit is contained in:
Georges Basile Stavracas Neto
2022-02-12 13:08:50 -03:00
parent eb63f10651
commit fb504db31f
2 changed files with 0 additions and 41 deletions
-34
View File
@@ -1202,40 +1202,6 @@ filter_children_by_uid_and_modtype (GtkWidget *widget,
return result;
}
gboolean
gcal_translate_child_window_position (GtkWidget *target,
GdkWindow *child_window,
gdouble src_x,
gdouble src_y,
gdouble *real_x,
gdouble *real_y)
{
GdkWindow *window;
gdouble x, y;
x = src_x;
y = src_y;
/* Find the (x, y) values relative to the workbench */
window = child_window;
while (window && window != gtk_widget_get_window (target))
{
gdk_window_coords_to_parent (window, x, y, &x, &y);
window = gdk_window_get_parent (window);
}
if (!window)
return FALSE;
if (real_x)
*real_x = x;
if (real_y)
*real_y = y;
return TRUE;
}
void
gcal_utils_launch_online_accounts_panel (GDBusConnection *connection,
const gchar *action,
-7
View File
@@ -120,13 +120,6 @@ GList* filter_children_by_uid_and_modtype (GtkWidget
GcalRecurrenceModType mod,
const gchar *uid);
gboolean gcal_translate_child_window_position (GtkWidget *target,
GdkWindow *child_window,
gdouble src_x,
gdouble src_y,
gdouble *real_x,
gdouble *real_y);
void gcal_utils_launch_online_accounts_panel (GDBusConnection *connection,
const gchar *action,
const gchar *arg);