gboolean nemo_notebook_can_set_current_page_relative (NemoNotebook *notebook, int offset) { g_return_val_if_fail (NEMO_IS_NOTEBOOK (notebook), FALSE); return nemo_notebook_is_valid_relative_position (notebook, offset); }
gboolean nemo_notebook_can_reorder_child_relative (NemoNotebook *notebook, int page_num, int offset) { g_return_val_if_fail (NEMO_IS_NOTEBOOK (notebook), FALSE); return nemo_notebook_is_valid_relative_position ( notebook, page_num, offset); }
gboolean nemo_notebook_can_set_current_page_relative (NemoNotebook *notebook, int offset) { int page_num; g_return_val_if_fail (NEMO_IS_NOTEBOOK (notebook), FALSE); page_num = gtk_notebook_get_current_page (GTK_NOTEBOOK (notebook)); return nemo_notebook_is_valid_relative_position ( notebook, page_num, offset); }